Fixing flaky E2E tests Diagnose and fix flaky Playwright E2E tests in . When to use - Tests fail intermittently (pass sometimes, fail others) - Timeout errors ( ) - Snapshot mismatches with pixel differences - Browser-specific failures (firefox, webkit, chromium) - User asks to fix top flaky tests from CI Finding top flaky tests Run the script to identify the most flaky tests from recent CI runs: Options: - : Look back N days (default: 4) - : Return top N flaky tests (default: 10) - : Minimum total reruns to include (default: 2) - : Output as JSON for programmatic use The script downloads art…