How do I re-use sessions when using cypress run
?
#31140
Unanswered
lily-controlzee
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
-
Hello,
I am using
cy.session
in my e2e tests, and when usingcypress open
, the cached session is restored. This saves a lot of time during test development on my local machine.However, sessions are not cached (across different files) when using
cypress run
. I have many tests which login as the same user and it would reduce runtime in CI if I could re-use that session like I can withcypress open
. Is this possible?I am using
cy.session(...)
like so:I am using Cypress
13.13.3
on Linux.Beta Was this translation helpful? Give feedback.
All reactions