Testing · Middle · Question 75 of 75
How are retries usually configured in Playwright?
export default defineConfig({ retries: process.env.CI ? 2 : 0 });- ✓Correct answer: Only in CI, and tests that pass on retry are reported as “flaky” so they still get fixed
- 2Always 5 retries everywhere, to keep CI green
- 3Playwright doesn't support retries
Explanation
Retries soften infrastructure noise, but the flaky report must be watched - otherwise retries hide real bugs.