Cypress · Junior · Question 36 of 75
What is test isolation in Cypress?
- 1Clearing page, cookies and storage before each test
- 2Hiding test output from other tests
- 3Running each test on its own separate machine
Show the answer
Correct answer: Clearing page, cookies and storage before each test
Explanation
With testIsolation: true (the default), each test starts on a blank page with clean state, so tests don't depend on each other.