> For the complete documentation index, see [llms.txt](https://docs.appetize.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appetize.io/testing/trace-viewer.md).

# Trace Viewer

The [Playwright Trace Viewer](https://playwright.dev/docs/trace-viewer-intro) allows you to review the playback of your test. This can be recorded locally, or downloaded from CI when a test fails.

It is designed for web tests, so while the features like network logging and DOM inspection will not work for Appetize, you can still use it to look at the video recording of the test.

{% code title="playwright.config.ts" %}

```typescript
const config = {
  ...
  use: {
    trace: 'retain-on-failure'
  },
}
```

{% endcode %}
