-
Notifications
You must be signed in to change notification settings - Fork 25
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
test: add autofill cypress test #4607
Conversation
…d some cy.wait() to pass tests
…o be after step 11
✅ Deploy Preview for partners-bloom-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-exygy-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for partners-bloom-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-exygy-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…ing/bloom into 3385/cypress-autofill
Heya @adriencyberspace ! Do you mind filling out the PR template description? With some background on the goal here and any technical choices you made if there's any relevant ones. It doesn't have to be long. The "how can we test this" section is more self-explanatory on this one. |
@emilyjablonski oops! done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason the test keeps getting stuck locally for me on the blue sky application on the "Do you anticipate any changes in your household in the next 12 months, such as the number of people?" question. This test is passing in circleCI though so maybe it's something strange locally for me
This PR addresses #3385
Description
This PR:
"Submit"
test insubmit-application.spec.ts
, first applying to Elm Village then applying with autofill to Blue Sky apartments -- the idea here is that it's most likely a user would autofill a different application than the one they initially applied tosubmitApplication
function and the necessary step functions incommand.js
to take in anautofill
boolean arg (if autofill, we skip filling out most fields)autofillBlueSkyApplication
, reasons:How Can This Be Tested/Reviewed?
Run yarn test in sites/public and watch the
"Submit"
test fromsubmit-appication.spec.ts
Author Checklist:
yarn generate:client
and/or created a migration when requiredReview Process: