Cypress · Middle · Question 41 of 77

What does retries: { runMode: 2 } mean?

Show the answer

Correct answer: Failed tests are retried up to two times in cypress run

Explanation

Retries reduce noise from rare glitches. Tests that pass only on retry are flaky and should be fixed.

Further reading

Problem with a question

Cypress · Middle · question 41

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