Using sessions again with cy.session #27808
Unanswered
audreyclrc
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.
-
Hello !
I would like to connect and reconnect users in the same test, but I don't know how.
My test is organised like this :
Session user A : find their ID
Session user B : use userA ID to send them a message, then block them
Session user A : see message from user B, answer
Session user B : deblock user A and assert they got the message from user A
I want to have them all on one
it
, because they are dependant from each other, but I don't know how and if it is possible to connect again using the same session both user.For now, I'm creating a new session with another ID to reconnect user A then user B, but I was wondering if there is a way to use the session
id
to just reuse them.Thank you very much ! :D
Beta Was this translation helpful? Give feedback.
All reactions