-
Notifications
You must be signed in to change notification settings - Fork 0
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
Disable application submission in tests #418
Conversation
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.
should we also remove the enters parental data and submits
tests from the applications or will this not populate for the admins to see in prod?
.should('contain', 'Application Submitted'); | ||
}); | ||
// Disable submission | ||
//it("skips the demographic section and agrees to the rules", function() { |
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.
suggestion: generally not the best idea to keep "dead" code around, because if we tried to introduce it again its more likely to not make sense given other changes that have occurred. I'd say this should just be deleted.
per discussion at standup, it seems we definitely do not want applications submitted in simpligov prod, but I'm really unsure if we can modify the tests in general to not do that and still have meaningful tests. Therefore, we decided on stopping the tests running in https://github.com/mbta/reduced_fares/actions/workflows/automation-prod.yml and keep this workflow running: https://github.com/mbta/reduced_fares/actions/workflows/automation-preprod.yml If we learn for some reason we really do need these tests running in prod, but not having them create applications, we should then consider which tests we truly need to run in prod. |
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.
should we revert the tests we removed?
Asana task
We don't want to submit applications in cypress tests anymore, as the submissions appear in the SimpliGov dashboard and this can be confusing.