Test Generation
AI-Powered Test Generation
AI test generation runs automatically after a scan; suites appear in the Tests lens tagged by type. Regenerate anytime.
Last updated: May 28, 2026
AI-Powered Test Generation
When a scan finishes, AegisRunner automatically turns what it found into working tests — no prompting required. The Activity panel shows “Generating tests” while it runs.
How it works
The pipeline reads the pages and flows discovered during the scan, clusters them into goals, generates Playwright steps, and verifies each test on the live site (auto-healing locators that don’t resolve) before saving it. Tests target accessibility roles and visible text rather than brittle CSS selectors.
Where the tests appear
Generated suites show up in the Tests lens, tagged by how they were created:
- AI — single-page tests generated by the model.
- Journey / Composite — multi-page flows and CRUD lifecycles (e.g. create → edit → delete) stitched into one suite.
- Smart — fast rule-based tests generated per page during the crawl.
Regenerating
Use Regenerate AI tests in the Tests lens to re-run generation for a scan; it confirms before replacing the existing AI suites (hand-edited suites are kept). Generation cost counts against your plan’s monthly AI budget.
Was this helpful?