Developer Tools · Self-healing test fixes
TestHealer
Redesign without breaking tests.
After a redesign, find every UI test selector that broke, the element it meant, and a verified fix as a diff. The same for API version bumps.
$ test-mender ui tests --page checkout-after.html --before checkout-before.html
18 selector(s) in 4 file(s): 3 ok, 15 broken (14 with a confident fix), 2 brittle
✗ checkout.spec.ts:11 getByRole(role=button[name="Place order"])
fix (high): role=button[name="Pay now"]
✗ test_checkout_selenium.py:7 By.XPATH(//button[@id='submit-btn'])
fix (high): //*[@data-testid='place-order']
The problem
Every UI redesign or API version breaks hundreds of tests. Engineers spend days updating selectors by hand, or the suite gets switched off.
What it does
Playwright, Cypress, Selenium and Testing Library tests, in JS, TS, Python and Java
Finds what a broken selector meant from the old page, then the closest element on the new one
Proposes the most robust selector (test id, form name, role and name) and checks it matches exactly one element
Keeps your style: getByRole stays getByRole, By.ID stays By.ID
Flags brittle selectors that still work: nth-child, generated classes, absolute XPath
API tests: renamed paths, fields and status codes from two OpenAPI specs, applied to tests and Postman collections
Only confident fixes are written; you review a diff
How it works
- Save the page before and after the change
- Run it on your test folder
- Review the diff and commit
Works with
Your data
- Runs on your test suite locally.
- Fixes arrive as diffs you review.
- Nothing is committed for you.
Who it's for
Questions
How does it know the right element?
It fingerprints the element the old selector found and locates the same element on the new page.
What about API tests?
It diffs the OpenAPI versions and rewrites the affected requests and Postman collections.
Related
Often used with TestHealer
RunbookFinder
Engineering knowledge searchAnswers your engineers can trust. Ask how a system works and get the runbook section, the postmortem and the code, with who owns it and whether it's out of date.
₹20,000–50,000View product → Developer ToolsA11yReady
Accessibility auditAccessible by design, compliant by law. Audit your website against WCAG 2.2 AA and see what each issue means under the European Accessibility Act, the ADA, and UK, Australian and Indian rules.
₹35,000–75,000View product → Developer ToolsBharatReady
India-readiness checksBuilt for India, properly. Find what breaks for Indian users: time-zone and financial-year bugs in your code, and Indian-language text that breaks your interface.
₹30,000–1,00,000View product →See TestHealer on your own data
A 30-minute call. We run the product on your export, repository or document and walk you through the results.