Testing · Middle · Question 75 of 75

How are retries usually configured in Playwright?

export default defineConfig({ retries: process.env.CI ? 2 : 0 });

Explanation

Retries soften infrastructure noise, but the flaky report must be watched - otherwise retries hide real bugs.

Further reading

Problem with a question

Testing · Middle · question 75

Test yourself

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

Take this quiz