-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cy.setCookie is broken with chrome 77 #5142
Comments
Hey @bryant-slack, the error you're experiencing comes from Chrome's Cookies API, which means something is wrong with the supplied cookie's format. Have you tried changing |
@flotwig Leading Previous convo: #1896 (comment) |
Yeah, but I think the Chrome extensions API specifically does not follow that convention (check the docs link above for how Chrome extensions structure cookies vs. how the RFC is written), instead setting a HostOnly cookie only if the |
The DevTools display the cookies in the Chrome DevTools Protocol format, which does use a leading Chrome extensions API (which Cypress uses) uses a Try without the |
this looks like it works for us if we remove the |
Nice! It does work fine with the |
Yes that is correct, before we had the |
The code for this is done in cypress-io/cypress#5297, but has yet to be released. |
1 similar comment
The code for this is done in cypress-io/cypress#5297, but has yet to be released. |
Released in |
Current behavior:
Desired behavior:
Steps to reproduce: (app code and test code)
run the following test: it will fail:
If you remove the domain it works:
NOTE: this works fine on chrome 76. it broke with chrome 77 upgrade.
Versions
Max OS 10.14.6
Chrome 77
Cypress 3.4.1
The text was updated successfully, but these errors were encountered: