Test Cases in Build Insights
Overview
A single test session often runs several scenarios — sign in, search, checkout. When you report each scenario as a test case (with lambda-hooks, a webhook or a supported reporter — see Test Case Insights), TestMu AI tracks every test case on its own: its status, duration and history, and the smart tags, flakiness and failure category that apply to it.
This page covers where test cases appear and what you can do with them:
- Test Cases in Build Insights — switch a build between test sessions and test cases.
- Test cases on the automation build page — the Insights and Test Cases tabs on App and Web Automation builds.
- Test Cases View widget — test case history on your dashboards.
- Test case intelligence — smart tags, flakiness and failure categories for test cases.
- Anomaly notifications — get an email, Slack or webhook digest when a build has anomalies.
Test cases are available for Web Automation and App Automation, and HyperExecute test cases also appear in Build Insights. Some parts of this experience are being rolled out gradually; if you don't see a feature described here, contact support.
Test Cases in Build Insights New
Open Insights → Build Insights, then select a build. The Insights and Tests tabs carry a Test Sessions / Test Cases toggle in the top-right corner:
- Test Sessions — the existing view, one row per test session.
- Test Cases — every test case reported inside those sessions.
Each mode keeps its own filters, search and grouping, so switching back and forth doesn't reset your work; the date range is shared by both modes.
Insights tab in Test Cases mode
In Test Cases mode the Insights tab summarises the build at test case level:
- Pass rate and duration, with test case counts shown as Success and Failed.
- Anomalies, Flaky, New Failures and Always Failing — counts of test cases carrying each smart tag.
- Build History — test cases per day, split by status.
- Stability, and the Browsers and OS breakdowns.
Widgets that only apply to test sessions — Unique Tests, Test Instances, Retries, Auto Healed, Visual Differences, Accessibility Issues and Failure Categories — are hidden in this mode.
Drill into a metric
Click the count on Anomalies, Flaky, New Failures or Always Failing, or a bar in Build History, to open a drawer that lists the matching test cases. The drawer shows the number of test cases, the average and maximum run time, and lets you filter by Status, Test Case Name, Browsers, OS and Project and change the sort order. Each row is one run of a test case, so the count in the drawer matches the number on the tile.