Flake Investigation Defaults
Pack:
playwrightParent skill: Playwright Debugging Traces And Flake Reduction Source:playwright/playwright-debugging-traces-and-flake-reduction/references/flake-investigation-defaults.mdDefault investigation loop:
- reproduce
- capture trace
- inspect the failing action and assertion
- identify whether the root issue is locator, assertion, auth, network, or environment
- fix that contract directly
Codegen rule:
- use it to inspect selectors and flows
- do not commit the generated file without heavy cleanup
Retry rule:
- retries can protect CI from noise
- retries do not explain failures
- if a test needs more retries to look green, the root problem is still present