Testing · Middle · Question 59 of 75
What does cy.session() do?
- ✓Correct answer: Caches and restores cookies and storage after logging in, so login runs once and later tests reuse it
- 2Opens a new browser tab
- 3Stores test results
Explanation
Combined with programmatic login via API (cy.request), it makes suites much faster.