Cypress · Senior · Question 4 of 76

What is the most common root cause of flaky Cypress tests in large suites?

Show the answer

Correct answer: Shared state and timing assumptions, like fixed waits or leaked data

Explanation

Most flakes trace to tests depending on each other, on real timing, or on shared backend data. Fix the cause; retries only hide it.

Further reading

Problem with a question

Cypress · Senior · question 4

Test yourself

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

Take this quiz