-
Notifications
You must be signed in to change notification settings - Fork 356
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: remove cookie check during logout because of flake [DET-3823] #1062
fix: remove cookie check during logout because of flake [DET-3823] #1062
Conversation
c52c5e5
to
86d42e7
Compare
f6af26c
to
f452cca
Compare
@hamidzr I've reran the |
f452cca
to
f1243a8
Compare
The most recent push change is around dropping unused comment lines. |
I looked to see if we can test our test helpers but I don't know how to set it up to expect some tests or a specific cypress command to fail. there are assertions but I didn't see a clean way of using it.
|
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.
LGTM, thanks for fixing this
Description
It seems like with cypress's whitelisting of the
auth
cookie, there is no guarantee that the cookie will be properly cleared under the testing environment. We currently have a url path check to confirm that the logout takes you to the sign in page, which should suffice. Simply removed the cookie check due to its flakiness.Reference:
cypress-io/cypress#5723
cypress-io/cypress#5453
Test Plan
Commentary (optional)