Loading...
Loading...
Fix failing or flaky Playwright tests. Use when user says "fix test", "flaky test", "test failing", "debug test", "test broken", "test passes sometimes", or "intermittent failure".
npx skill4agent add alirezarezvani/claude-skills fix$ARGUMENTSe2e/login.spec.ts"should redirect after login""the checkout test fails in CI but passes locally"npx playwright test <file> --reporter=listnpx playwright test <file> --repeat-each=10 --reporter=listnpx playwright test --fully-parallel --workers=4 --repeat-each=5npx playwright test <file> --trace=on --retries=0/debugflaky-taxonomy.md| Category | Symptom | Diagnosis |
|---|---|---|
| Timing/Async | Fails intermittently everywhere | |
| Test Isolation | Fails in suite, passes alone | |
| Environment | Fails in CI, passes locally | Compare CI vs local screenshots/traces |
| Infrastructure | Random, no pattern | Error references browser internals |
waitForTimeout()awaittoBeVisible()dockerretries: 2npx playwright test <file> --repeat-each=10 --reporter=listretries: 2trace: 'on-first-retry'