Can't pass saml authentication on newer Cypress versions #31474
Unanswered
vintagefuture
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Cypress 8.7.0 for integration tests on my React application.
The first step for each test is to login to a saml portal, which generates the session cookie.
If I try to upgrade to any version after 8.7.0, either 9.0.0 or even the latest 14.2.1, the authentication fails.
Evertyhing works fine from normal browsers so it must be a specific Cypress thing that changed after 8.7.0.
I initially thought it was a matter of using this workaround https://www.tomoliver.net/posts/cypress-samesite-problem which I did, however the issue continues.
Attached a screenshot of the network tab from normal browser, and from cypress Electron.
What am I missing?
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions