# How to read a Playwright trace

> Use a Playwright trace to inspect the failed action, page state and assertion. Check whether the evidence supports the defect described in a test report.

Source: https://cueapril.com/guides/read-playwright-trace
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## Can the reviewer identify when the observed UI first departed from the requirement?

Open the trace at the first action where the observed page departs from the expected journey. Compare the DOM snapshot, network response and assertion at that moment.

A search test times out waiting for the newest result.

## Work through the decision

The trace shows the expected request completing first and the previous request completing later. Increasing the timeout would simply leave the stale result on screen longer.

Steps and evidence for the reviewer

| Step | Evidence to keep |
| --- | --- |
| Locate the first divergence | Inspect the action and its before/after snapshots. |
| Match the response | Compare request identity and payload to the visible text. |
| Check the assertion | Confirm the locator tests the result the user intended to see. |

## What changes the decision

Save a minimal reproduction with the same ordering and revision. Keep traces with synthetic data or remove sensitive artifacts before sharing.

## Primary documentation

- [Playwright documentation for its trace viewer](https://playwright.dev/docs/trace-viewer)

By Cue April. Updated 2026-12-01.

## Related

- [Testing guides](https://cueapril.com/guides): Learn how to select regression checks, verify generated tests and read failure evidence. Use examples that connect a code change to user behaviour.
- [Worked test reports](https://cueapril.com/reports/stale-search-results): Inspect a local fixture where an older search response arrives last. See when the wrong result replaces the current query and how a revision fixes it.
- [Pull request testing](https://cueapril.com/use-cases/pull-request-testing): See what a pull request test report should show before you merge. Follow a failing checkout check through the fix and inspect a real PR report.
