Cypress · Junior · Question 36 of 75

What is test isolation in Cypress?

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.

Further reading

Problem with a question

Cypress · Junior · question 36

Test yourself

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

Take this quiz