-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cypress upgrade #803
Cypress upgrade #803
Conversation
}); | ||
|
||
afterEach(() => { | ||
after(() => { | ||
cy.logout(); |
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.
do you want logout afterEach
?
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.
We should, but since we have cy.login() in beforeEach, and it does a cy.logout() implicitly, so no need to add the extra code.
If we ever remove cy.login() from beforeEach, i would come back and add cy.logout() into afterEach.
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.
it does a cy.logout() implicitly
aha. yeah that makes sense.
Get cypress upgraded to recent version and fix tests, preparing for GSA/data.gov#4861
crypress run
command so that it is more robust when run PR checksgoogleanalyticsbasic
that is not being used