Overview
Mend is a CI-oriented tool that repairs Playwright end-to-end tests broken by selector drift, such as a renamed id or class, a restructured DOM, or changed text. It uses an OpenAI tool-calling agent to investigate a DOM snapshot, propose a corrected selector, and verify the fix by re-running the test against a temporary copy of the spec file. The tool never accepts a fix without execution-based verification, and it enforces several invariants: the agent cannot weaken or skip assertions, the original spec file is never mutated, and the healing loop has a hard cap of 5 tool calls. Confidence in a fix is derived from observable signals like DOM match count and tool-call count, not from the model's self-reported certainty. High-confidence fixes are opened as GitHub pull requests, but a human always merges. Every attempt, including failures, is persisted to PostgreSQL with the full tool-call transcript for replay in a dashboard.
Pricing
Free
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use Mend to automatically repair Playwright tests broken by selector drift, such as a renamed CSS class or restructured DOM.
- Teams use Mend to reduce the manual triage time spent on one-line fixes for broken tests.
- Teams use Mend to restore trust in red builds by automatically healing selector-drift failures.
- Teams use Mend to verify proposed selector fixes by re-executing the test against a temporary copy of the spec file.
- Teams use Mend to open GitHub pull requests for high-confidence fixes, which are then reviewed and merged by a human.
- Teams use Mend to persist every heal attempt, including failures, with the full tool-call transcript for later replay.
Features
Repairs Playwright selector drift
Investigates live DOM snapshots
Proposes corrected test selectors
Verifies fixes by rerunning tests
Checks test assertion integrity
Scores confidence from observed results
Opens verified fixes as pull requests
Reviews
No reviews yet. Be the first to share your experience!