cy.session does not work consistently between creation and restoration of sessions #29896
Labels
stage: needs investigating
Someone from Cypress needs to look at this
stale
no activity on this issue for a long period
topic: session
Issues when using session command
Current behavior
We are currently using Cypress with BDD. For login we use a SSO on a different domain. When we create a session which creates sessions on the SSO provider as well as the Customer facing site, the behavior when creating the session is not the same as restoring the session. Currently there is no way to use the same session consistently. Is this how it is supposed to be ? Currently the validation on the session is based on the location of the Customer facing site which is on origin. I really don't see how this can work consistenly. Is there a workaround for this ?
Desired behavior
Cypress behavior should be the same in creation as well as restoration of session.
Test code to reproduce
commands.js
Patient_Select_Profile.js
Cypress Version
13.13.1
Node version
v20.11.0
Operating System
macOS Sonoma v 14.3
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: