badrshs/TestMedic - Self-Healing E2E Tests
Classifies Playwright failures, repairs UI drift in a verified PR, reports real bugs as issues.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| claude-code-oauth-token | Claude subscription OAuth token (from `claude setup-token`). Provide this or anthropic-api-key. | no | "" |
| anthropic-api-key | Anthropic API key. Provide this or claude-code-oauth-token. | no | "" |
| model | Model used for diagnosis and healing. | no | claude-sonnet-5 |
| mode | heal (fix and open a PR), dry-run (log proposals only), or issue-only (never patch, only report). | no | heal |
| max-heals | Maximum number of tests to heal per run (cost cap and loop guard). | no | 3 |
| min-confidence | Minimum model confidence (0 to 1) required to apply a heal. | no | 0.6 |
| report | Path to the Playwright JSON report, relative to working-directory. | no | test-results/results.json |
| working-directory | Directory containing the Playwright project, relative to the repository root. | no | . |
| test-command | Command used to re-run a healed test for verification. | no | npx playwright test |
| base-url | Base URL of the app under test, used to fetch live DOM evidence for healing. Defaults to the baseURL found in the Playwright config. | no | "" |
| github-token | Token used to push the heal branch and open PRs/issues. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| pr-url | URL of the heal pull request, if one was opened. |
| issue-urls | Comma-separated URLs of bug issues opened. |
| healed-count | Number of tests healed and verified. |