playwright.config.js
export default { retries: process.env.CI ? 2 : 0, };
Stress test for flakiness locally:
npx playwright test tests/checkout.spec.js --repeat-each=20