https://cypress.io logo
session isn't isolated to `it()` -- the purpose of...
# e2e-testing
f
session isn't isolated to
it()
-- the purpose of
cy.session
is to avoid having to log in for every test. local storage should just get restored as long as you use the same id (in your case
mySession
). can you paste your
loginWithApiCall
code?