Skip to main content

Open Traces

Open a finished run, drill into a scenario's evidence — final screenshot, video and trace — then launch the Playwright trace debugger on its full action list.

Playwright traces are detailed recordings of a test run. They can include actions, DOM snapshots, console events, network requests, timing, screenshots, and attachments.

Use traces when screenshots and videos show what happened but not why.

When traces are available

Trace availability depends on the run configuration. Many teams keep traces for failed tests so they can debug without storing large artifacts for every passed test.

Traces may be missing when:

ReasonWhat to check
Trace capture is disabledReview the selected run configuration.
Trace is retained only on failurePassed tests may not keep traces.
The run failed before Playwright ranCheck session setup and dependency installation.
The run is still finalizingWait for artifact processing to finish.
Artifacts expired or were deletedUse a newer run or re-run the test.

Open a trace

  1. Open Runs.
  2. Select a completed or failed run.
  3. Open the Features tab.
  4. Open the scenario row you want to inspect.
  5. For a failed scenario, choose Debug with AI. For a passed or skipped scenario, choose Open Playwright trace.

Either action opens the trace in the Playwright trace viewer. Debug with AI also docks an AI assistant beside the viewer that analyzes the trace and starts diagnosing the failure automatically. If a scenario has no trace, the Open Playwright trace action is not shown for that row.

What to inspect in a trace

Trace areaUse it for
ActionsSee each Playwright click, fill, navigation, and assertion.
SnapshotsInspect the page around each action.
TimelineFind slow actions, timeouts, and late-loading resources.
ConsoleMatch browser errors to a specific moment in the test.
NetworkSee requests and responses near the failing action.
AttachmentsReview screenshots or other files tied to the run.

Download traces

When a run uploads trace files, you can download them from the Artifacts tab (or the per-scenario Artifacts list in the row details). Use this when a teammate needs the raw trace file or when you want to keep a copy outside TestVibe.

For the visible browser state around a failure, see View screenshots.