Cypress · Junior · Question 60 of 75

How can test retries be enabled in Cypress?

Show the answer

Correct answer: retries: { runMode: 2, openMode: 0 } in config

Explanation

Retries help with rare glitches in CI. Tests that pass on retry should still be investigated as flaky.

Further reading

Problem with a question

Cypress · Junior · question 60

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