Your first failure, explained
You've landed your first run (Getting started) and one test is red. This page walks through reading it. Piwi lays a failing execution out diagnosis-first, in one column read top to bottom: what broke, why, what to do next, then the evidence.
Open the failing test from the run page (click its row) to reach its execution page.

The top of the page is one situation block. Above its heading, a small identity line carries the status, the test (tests/checkout/checkout.spec.ts:9 › Checkout › should complete checkout with credit card), marks such as @fixme or @slow, and whether it is quarantined. The lines below it are the rest of this page, in order.
1. The headline: what broke
The heading is a plain-English sentence built from the Playwright error, before you read a word of the raw error itself:
Test timed out after 30 s while clicking getByRole('button', { name: 'Pay' })
It is read from the action or matcher, the locator, the expected and received values and the timeout; an unknown error shape falls back to the error's first line. A failure in a hook or fixture says where it happened (In beforeEach: …), and an expect you gave a message leads with it ("cart shows the item" failed: …). The verbatim error is one click away under Raw error: Piwi never rewrites it, it only leads with a readable summary. The same headline names the test on the run page, in alerts, in the pull-request comment, in the MCP tools and in your terminal.
A smaller line under the headline says since when it fails, on which commit and by whom, and whether it still fails:
New regression since a1b2c3d by Alice Chen, 1 day ago · Not the latest Chromium execution: failed again in run #1 and run #2, 51 minutes ago · Open the latest
Latest execution of this test means nothing ran it since; otherwise the line says what the newer runs did (failed again, with another error, or passed) and Open the latest goes to the newest execution. Only the same Playwright project counts, and the line names it when another project ran later: a Firefox pass does not clear a Chromium failure. An exceptional case (a new regression, a newly flaky test, an infrastructure failure) leads the line. A test that passed on retry reads Passed on retry in its status and leads with its failed attempt's error, and the line says which attempt failed (Failed on attempt 1, passed on attempt 2), with a link to it.
2. Most likely: why
Under the headline, the Most likely line gives one explanation. It is built from clues: deterministic, rule-based findings correlated from the evidence, with no model involved. When the clues match a known pattern (some patterns need only one clue), the line is a story, one sentence that chains them:
The button "Pay" stayed disabled because POST /api/checkout/quote was still in flight (28.4 s); the console said so 7.8 s before the click gave up.
A strong or medium story leads; otherwise the cluster's AI diagnosis may, by one rule on this page and the cluster page (which one leads). The line carries a strength (Strong, Medium or Weak, or the diagnosis's confidence) and how many clues agree; All clues lists every clue, each with a citation: click it and the page jumps to the proof. With no clue and no diagnosis, the line is absent.
A test that did not run gets its reason here instead: the test that blocked it, or where the run stopped (The run reached its maximum number of failures (3 failed) and stopped before this test started), with a meta line when Playwright reported it.
3. Next: what to do
The Next line names the one thing to do, chosen for you rather than offered as a menu: apply the diagnosed patch, replace the broken locator, reproduce it, re-run in CI, mark the cluster resolved, or, for a test that did not run, open what blocked it. A code change shows on the line itself, with where it comes from and a button that copies it (Copy apply command or Copy locator); the ··· menu copies the command that re-runs this test. How the step is chosen and every action it offers: The next step.
4. The cluster: who else, and the ticket
The Cluster line names the failure cluster the failure joins and how many other tests of the run share it, with its triage status, whether an earlier fix did not hold, and who owns the test. It ends with the cluster's issue and its status, or offers to create or link one.
With coverage, a What changed line counts the changed lines the test ran and names the first of its suspect lines.
The History line shows this test's recent executions as one strip in the outcome colors, this one ringed, with how long it has been failing and the run it last passed in. Each square opens its execution; the Test history link at the top of the page opens the test's own page, its history across runs.
The block closes on a facts line, one size smaller: the failing file and line (open it in your IDE), browser and viewport, duration against its average, the attempts, the branch, and the CI build. A Details popover holds the rest, and Raw error shows the verbatim error with a Copy failure action.
5. The evidence: see it
One evidence card with tabs holds everything captured, opening on the tab that best shows the failure (which one); a click on any citation switches tabs for you. The one to know first is Timeline: it places the test's steps, console entries, network requests and backend logs on a single clock and marks the moment of failure, so "console (1) / network (3)" becomes what the app was doing when the test gave up. Screen holds the failure screenshot, the visual diff against the last green run, and the failure-time page state; Source shows the test source as a real call stack, so a failure inside a helper shows the helper. Each tab is described on Failure evidence.
Most of this needs one file
The error, trace, headline and clustering work with the reporter alone, and an uploaded trace recovers the console, network and failure-time snapshot. Web Vitals, page state and locator healing come from the capture fixtures, one file in your test setup. A tab that needs them and never received any data is left out, and until you decide on the fixtures one footer line names what they would add.
6. More ways to fix
Right above the evidence, More ways to fix is one line with a button for every other way to fix, verify or reproduce: a replacement locator, the AI diagnosis and its validated patch, verify, reproduce and bisect, fixed before, the tests it blocked. A button opens its section in a side panel beside the page, and a Next action that works in a section, such as Full patch, opens it.
You're not reading it alone
This execution is one member of a failure cluster: Piwi groups every test that failed for the same reason, so forty red tests become three problems you triage once. Once a later run passes every test it covers, the cluster records whether the fix held.
Try it in the demo
- E2E Checkout › should complete checkout with credit card: The Pay click times out: the situation block says since when, ties it to the quote request still in flight, and offers the diagnosed patch.
Related
- Failure evidence: each evidence tab, attempts, the page diff and the trace views
- Clue rules: every rule behind the Most likely line
- Failure clusters: triaging failures as groups
- Capture fixtures: the one file that unlocks the richer evidence
- Core concepts: run, execution, cluster, fingerprint, baseline