Cypress 13 doesn't send "Cookie" header with requests #28841
Unanswered
Benjamin-Re
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever a link is clicked or a form submitted before (Cypress 11) the request to the backend would include the "Cookies" header with all the cookies in the browser at the time of the request. But now it doesn't anymore. And the backend rejects the requests. And the test suite is broken. Why would this happen?
A workaround is to cy.getCookies and make a request to the href and adding the cookies explicitly as a header. But this can't be an acceptable solution.
Beta Was this translation helpful? Give feedback.
All reactions