Failure evidence
Everything Piwi captured about a failing attempt lands on one screen, the execution page (/test-run-cases/:id). This page covers its evidence: the card, clues, attempts, page diff and trace views. Its situation block is read on Your first failure, explained; the test's history, on the test case page (the two).
One execution, diagnosis-first
A failing execution reads top to bottom in one column. It opens on the situation block (headline, most likely cause, next step, cluster), described on Your first failure, explained.

Below the block, one evidence card holds tabs, a count on those that list items, empty ones dimmed. It opens on Source or Performance when a strong or medium leading clue cites it, else on Timeline when it can place two or more steps, requests or console entries, else on the tab such a clue cites, else on Screen when a screenshot or video exists, else on Source; a weak clue never picks it, and it never opens on State. A test that passed on retry opens on Attempts, another passing one on Timeline; a link can name the tab (?evidence=source).
- Timeline: one time axis for the steps, console entries, requests, their backend logs and browser dialogs, with the failure marked, over a table giving each step's and request's offset (
t-1.1s) and duration, colored only when it lasts at least 1 s and a third of the test, or twice its time in recent passing runs and 1 s more. Around the failure / Whole test, a drag across the axis and one chip per item type filter both. A trace adds a Screen lane per page: hover for the page then, click for its frames. Show the page puts it beside the steps for the hovered or picked row, in a card on hover, or as thumbnails; without a panel, a row's time opens it below. Hooks and fixtures fold into Setup and Teardown rows, open when the failure is there; what passed before the failure, but for the last three steps and any problem, folds into a Passed row; atest.stepholds its steps; the failing step shows its error and its page's Screenshot, DOM and Accessibility tree; a caught error is greyed out; a breakpoint's stop is a Paused band. - Attempts: shown when a test ran more than once, see below.
- Screen: the page at the failure as views (Screenshot, DOM, Accessibility tree, Visual diff, Page diff, Video) over the trace and attachments. DOM renders it as recorded (field values with passwords masked, scroll, dialogs, shadow DOM, focus, the mouse), with the action's target outlined. Open in picker finds a locator on that DOM. Enlarged, a screenshot's details give its attached name in full, with the expected result on a line of its own.
- Source: the test source as a call stack (the line that threw, with Debug in my editor, plus its callers), deepened with a trace, then, with coverage, what the test ran.
- Locators: each locator the test used, in step order, with how many tests share it (Locator usage).
- Network: the requests, API calls through Playwright's
requestfixture included, with inline backend logs; one with no response shows the browser's error (net::ERR_CONNECTION_RESET). Console: the console output. State: the app state at test end and the environment diff against the last green run. Performance: performance hints and Web Vitals. Output: what the test wrote to stdout and stderr (Test output).
A test that passed on retry leads with its failed attempt's error and keeps its next step; any other passing execution shows identity and facts. A test that did not run gives its reason as Most likely, with no evidence card. Network, console, Web Vitals, ARIA, focus and alternative-locator data come from the capture fixtures.
Clues
A clue is a one-line finding a deterministic rule draws from the evidence already captured, with no model involved. Each carries a strength (strong, medium or weak) and a citation that opens and marks the evidence it came from; the Most likely line marks the rows and tabs it cites. Clue rules gives every rule and how Most likely picks among the clues, the stories and the diagnosis.
Attempts
When a test passed on retry, the Attempts tab lists every attempt (status and duration), then what differed between the failing and passing attempts, most diagnostic first:
- the error present on the failing attempt and gone on the pass;
- a request, keyed by route (
GET /api/cart/:id), that failed (5xx or no response) on one attempt only, or took at least 1 s and twice as long on the failing one; - a console error, warning or page error on one attempt;
- a step that errored, ran much slower, or ran with different params on one attempt;
- a page-state or URL difference, including storage keys and cookies;
- an ARIA structural difference at the landmark and heading level.
Each difference links to its evidence tab, a request that is one of the test's suspects to it. The comparison feeds the root-cause classifier.

Page diff
Where the visual diff compares pixels, the Screen tab's Page diff view compares structure: it parses the failing page's ARIA snapshot and the same test's last passing snapshot into trees and reports nodes added, removed, renamed, changed (an attribute such as [disabled] flipped) or moved. The element the failing locator names is highlighted: a broken getByRole('button', { name: 'Pay' }) lands on the button renamed "Pay now".
The baseline is the same test's latest passing snapshot on the same browser, preferring the same environment, then Playwright release, then branch. Green snapshots come from sampling on pass, about once a day per test; until one exists the view says why (not captured, no green sample yet or not applicable). The page-diff summary reaches the explain_failure MCP tool.
When the trace carries aria snapshots, the view adds an in-execution page diff that needs no green baseline: the structure at the failure against the last different page before the failing action.

Trace-powered deep views
Where screenshots come from
Failure screenshots come from Playwright's screenshot: 'only-on-failure' option, one per page. The failing step shows the capture fixtures' screenshot of the failing page, else the only one.
With an uploaded trace (trace: 'retain-on-failure' or 'on-first-retry'), these views go deeper:
- Source → Full stack: the failing action's whole call stack, each frame with its source, dependency frames folded, Open in editor on your project's frames.
- Network → Full trace: every request the page made, on a waterfall with the failing action's window shaded, with timing phases, headers and a capped body preview. Sensitive headers and token-shaped strings are masked on the server.
Aria and screen snapshots
A Playwright 1.63 trace can record the page's aria tree and a screenshot before and after every action (trace.snapshots.aria and .screen), both off in wrapConfig's trace (their cost). Screenshots set the page before the failing action beside the one at the failure in the Screenshot view, and add a filmstrip of the page before each step to the Timeline tab where no Screen lane shows. Aria trees show the page at the failing action in the Accessibility tree view, and add the in-execution page diff.
Recovered from the trace without the fixtures
With the reporter alone and a trace uploaded, the dashboard recovers the console entries, the network requests (failed and aborted included) and the failure-time ARIA snapshot at ingest. Cards showing it carry a derived from the trace chip; fixture-captured data is never replaced.
Trace viewer
Open trace, atop the evidence card, opens the Playwright trace viewer; the Screen tab lists each trace with Open trace and Download. The dashboard serves the viewer at /trace-viewer/, so traces stay on your server, with or without authentication. The hosted trace.playwright.dev can't send your session cookie, so it needs authentication off.
The test case page
/test-cases/:id covers the test's whole life: total runs, pass rate, average duration and last run, a duration trend, a status-history strip, and the recent executions, each linking back to its execution. A flaky test adds a Flakiness tab with its suspects.

Try it in the demo
- E2E Checkout › should complete checkout with credit card: Every tab of the evidence card filled: the timeline marks the failing click, the Page diff shows the Pay button renamed and disabled.
Related
- Your first failure, explained: the situation block
- Fix a broken locator: this page, for one job
- Clue rules: every rule behind a clue
- Capture fixtures: the file behind the richer evidence
- Why a card is empty: captured, not applicable or declined
- AI diagnosis: the failure explained against your diff
- Offline export: the investigation as one file