Cypress · Middle · Question 14 of 77

What does cacheAcrossSpecs: true on cy.session do?

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.

Further reading

Problem with a question

Cypress · Middle · question 14

Test yourself

Take the Cypress · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz