Skip to main content

Self-healing E2E tests

Self-healing Playwright E2E tests — auto-patch broken selectors, or review them at the source.

Diagnose from the diff

Maps the failing selector to the actual DOM change in your git diff — pinpointing the root cause instead of guessing at raw logs.

Guardrailed patches

Only failing locators and wait conditions get rewritten. Assertions and test logic are off-limits — enforced at both the prompt and JSON schema level.

Verify, then loop

Every patch is re-run with npx playwright test and loops until the test is green — capped at 3 tries, no runaway fixes.

Local CLI = CI action

The same command you run locally powers the GitHub Action. Outcome is signaled via exit codes, so CI can open a patch PR automatically.