Playwright · Middle · Question 51 of 75

How do you check whether a test is flaky locally?

Show the answer

Correct answer: Run it many times with --repeat-each=20

Explanation

Repeating a test, especially with several workers, surfaces timing problems that appear only sometimes.

Further reading

Problem with a question

Playwright · Middle · question 51

Test yourself

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

Take this quiz