Client
VTEST’s own QA practice, testing web applications for customers across industries. The goal was autonomous QA infrastructure for modern engineering: quality operations, not just test execution.
Challenge
- Applications change and tests break. Hand-written UI tests were slow to create and costly to maintain across many customer applications.
- Generic AI test generators wrote whole scripts against pages they had never seen, so tests failed on hidden elements, duplicate labels and login steps.
- Some generated tests passed while verifying almost none of the acceptance criteria, so a green run could not be trusted.
- Live applications push back with firewalls, bot protection, CAPTCHAs, consent banners and one-time-code logins.
Solution
Our team addressed these challenges by:
- Turning user stories and acceptance criteria from Jira, Azure DevOps or GitHub into test scenarios, including inputs that should be refused and searches that should come back empty.
- Building a grounding agent that drives the real application through Playwright one step at a time, checking each result against a fresh snapshot of the page.
- Compiling only the path that actually worked into plain Playwright code, using locators confirmed to point at exactly one element.
- Adding a guard that refuses to ship a test that verifies nothing. Every acceptance criterion is either asserted or flagged as unverified.
- Classifying every failure as an application defect, firewall, CAPTCHA, login problem or a mistake in the test itself, with traces and screenshots kept.
- Healing failed tests and reusing fixes across sibling tests, with a hard rule that no assertion is ever weakened or removed.
Impact
- Built over eight months: 894 commits, about 147,000 lines of TypeScript and 217 test files.
- A guard caught 19 of 48 “passing” tests that were checking nothing, and the generator was fixed so they no longer occur.
- Recovered 17 failures that had been the tool’s own mistakes, with no new failures elsewhere.
- Each failure now tells the tester whether the application, the site’s defences, the login or the test is to blame.
- The output is ordinary Playwright code that teams can read, edit and run on their own.
Explore More Case Studies
- End-to-End Test Automation for an AI-powered CRM Application
- Test Automation for UK PropTech Rental Platform
- AI-Assisted Accounts Payable Automation for an Australian Retail Operator