Cypress · Middle · Question 14 of 77
What does cacheAcrossSpecs: true on cy.session do?
- 1Shares the session with other users of the app
- 2Saves the session to disk for future CI runs
- 3Reuses the session in other spec files during the run
Show the answer
Correct answer: Reuses the session in other spec files during the run
Explanation
It avoids logging in once per spec file, which speeds up large suites.