
What happened
The engineer classifies every failed E2E test as Code (test-side issue such as selectors or waits), Limit (environment or constraint, skip recommended), or Defect (suspected app bug), and only sends cases to auto-healing when they are Code with confidence above a threshold. Anything neither mechanical rules nor a higher-tier AI can settle goes to a human-review queue rather than being labeled a defect.
Why it matters
Because Defect is only asserted with confidence, the review queue shrinks to defect candidates, human-review holds, and data-competition Code items, and developers are less likely to ignore false-positive bug reports.
Summaries like this, every morning.
A previous piece argued against treating AI-generated E2E tests as a simple Pass/Fail binary. Here the author focuses on what happens after a test fails: the sorting work that becomes the new bottleneck once tests can be generated in volume. The core design choice is to make Defect a high-bar label. A timeout message, for example, can mean a changed selector, an insufficient wait, or a genuinely broken feature, so the system declines to guess from the string alone. Mechanical rules handle signals like intercepts pointer events, and a higher-tier AI re-reads logs, screenshots, and test code for the rest; what remains unsettled is held for a person. Reproduction checks are not retries but a separate AI driving a real browser through MCP, with the original signal withheld to avoid bias. The body also notes that skip reasons are made machine-readable, with category and autoSolvable fields, and that the framework and project-specific rule data are kept apart so other services can reuse the classifier. The author lists six open items, including the waitForResponse confidence sitting exactly at the auto-healing threshold, the risk that an AI mislabels a missing element as Code and heals over a real bug, and the inability to distinguish data shortage from environment failure. The author says quantitative verification of effort reduction is still to come and that current confidence is based on operational feel.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.