Turn on traces for retries in playwright.config.ts with trace: 'on-first-retry'. When a test fails in CI, download the trace file and open it.
npx playwright show-trace test-results/checkout/trace.zip
You get a timeline with screenshots, the DOM at each step and every request. It’s the fastest way I know to tell a real regression from a flaky test.

The suite this comes from is in Playwright checks that keep AI fixes from breaking the store.
