Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: Improve document.cookie patch #23643
fix: Improve document.cookie patch #23643
Changes from 14 commits
075def8
3d1976f
6e3e1b4
38b8bed
846679b
b23cc8d
cc625db
2227311
d106c4a
39e85d3
c2d18ee
97355ac
5f0b0ea
483e914
69fb577
2ca2a46
ed4203d
5d8bb52
517d430
e728aed
dc231b0
512a268
d8a4186
8e3227e
b90c040
02b7ac2
0300279
54255fc
7ddbc2b
f2a1d0e
dd631eb
e951c1f
5cb6c15
2102ad7
f9bdea5
23a31de
5b7822e
12277d6
f1441f0
8c9d60f
7b91ba5
1c91af7
1dc801f
bb2e37e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I wonder if we still need to do this if we store the reference to
get:cookies
, or just clear the reference out?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.
This is to optimistically clear out the cookies when a user calls
cy.clearCookies()
so there's no delay/race condition waiting to sync with the automation cookies. There's actually no longer any polling to sync with automation cookies. It just caused issues and now all cases of cookies changing in automation are taken care of in a more deterministic fashion