Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: alternate contact email now validated #2035

Merged

Conversation

YazeedLoonat
Copy link
Collaborator

@YazeedLoonat YazeedLoonat commented Oct 20, 2021

Issue

#2033

Addresses #issue

  • This change addresses the issue in full

Description

On the public listing application form, the alternate contact email address was allowing non-emails to be entered. This change now enforces email validity

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Can This Be Tested/Reviewed?

go through the public site's listing application process. When you get to the point of choosing an alternate contact, go through that process. Once you get to the alternate contact's email section, attempt to enter an invalid email (something "asf") and attempt to attempt to continue on with the form. This should be blocked by validation now.

If you change that to a real email (or an email that appears real) you should be able to progress with the form

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have reviewed the changes in a desktop view
  • I have reviewed the changes in a mobile view
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have assigned reviewers
  • I have updated the changelog to include a description of my changes
  • I have run yarn generate:client if I made backend changes
  • I have exported any new pieces in ui-components

@netlify
Copy link

netlify bot commented Oct 20, 2021

👷 Deploy request for dev-partners-bloom pending review.
Visit the deploys page to approve it

🔨 Explore the source changes: 30002f8

@netlify
Copy link

netlify bot commented Oct 20, 2021

👷 Deploy request for dev-bloom pending review.
Visit the deploys page to approve it

🔨 Explore the source changes: 30002f8

@netlify
Copy link

netlify bot commented Oct 20, 2021

✔️ Deploy Preview for dev-storybook-bloom ready!

🔨 Explore the source changes: 30002f8

🔍 Inspect the deploy log: https://app.netlify.com/sites/dev-storybook-bloom/deploys/61733475e7f893000784f9ed

😎 Browse the preview: https://deploy-preview-2035--dev-storybook-bloom.netlify.app

Copy link
Collaborator

@emilyjablonski emilyjablonski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation looks good 👍 , can you confirm the failing terms Cypress test is unrelated before merge? It's the one that tests we can submit an application

@YazeedLoonat YazeedLoonat merged commit b411695 into bloom-housing:dev Oct 22, 2021
seanmalbert pushed a commit to CityOfDetroit/bloom that referenced this pull request Jun 23, 2022
* fix: alternate contact email now validated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants