https://cypress.io logo
this way it should work. the `'login'` is an ID f...
# e2e-testing
b
this way it should work. the
'login'
is an ID for that particular session. Every time you call cy.session with the same ID you have to have the same content inside of it, but don't worry, it won't call twice, only once in the cypress lifetime. So first time it will login properly (clicking, anything u have there) then it just restores the cookies, and storage from that session, and by that it imitates a "login"