SKILL

fix

Diagnose and fix a failing or flaky Playwright test. Use whenever a test fails, passes only sometimes, breaks intermittently or needs fixing.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Fix Failing or Flaky Tests
  • Input
  • Steps
  • 1. Reproduce the Failure
  • 2. Capture Trace
  • 3. Categorize the Failure
  • 4. Apply Targeted Fix
  • 5. Verify the Fix

Diagnose and fix a Playwright test that fails or passes intermittently using a systematic taxonomy. $ARGUMENTS contains: A test file path: e2e/login.spec.ts A test name: ""should redirect after login" A description: "the checkout test fails in CI but passes locally" Run the test to capture the error: If the test passes, it's likely flaky. Run burn-in: If it still passes, try with parallel workers: Run with full tracing: Read the trace output. Use /debug to analyze trace files if available. Load flaky-taxonomy.md from this skill directory. Every failing test falls into one of four categories: | Category | Symptom | Diagnosis | |---|---|---| | Timing/Async | Fails intermittently everywhere | --repeat-each=20 reproduces locally | | Test Isolation | Fails in suite, passes alone | --workers=1 --grep "test name" passes | | Environment | Fails in CI, passes locally | Compare CI vs local screenshots/traces | | Infrastructure | Random, no pattern | Error references browser internals | Timing/Async: Replace waitForTimeout() with web-first assertions Add await to missing Playwright calls Wait for specific network responses before asserting Use toBeVisible() before interacting with elements Te

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
alirezarezvani/claude-skills
Source file
engineering-team/playwright-pro/skills/fix/SKILL.md
Fixed revision
8f082544116fc0d014188e521ca40304cdfc86b0
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: alirezarezvani/claude-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:46.336Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.