diff --git a/docs/guide/browser/trace-view.md b/docs/guide/browser/trace-view.md index a9e3068abdde..78ff3573f77c 100644 --- a/docs/guide/browser/trace-view.md +++ b/docs/guide/browser/trace-view.md @@ -68,12 +68,10 @@ The viewer has two resizable panes: - **Step list** (left) shows every recorded action, assertion, mark, and lifecycle entry, with its name, timing, selector, and source location. Failed actions and assertions are highlighted in red. - **DOM snapshot** (right) shows the page at the selected step, with the interacted element highlighted in blue. When only failed tests are recorded, the snapshot is taken at the end of the test. -Selecting a step also opens its source location in the Editor tab when that location is available. +Selecting a step also opens its source location in the Code tab when that location is available. -Vitest UI trace viewer showing step list and DOM snapshot -Vitest UI trace viewer showing step list and DOM snapshot - -Example replay uses [Vuetify's](https://github.com/vuetifyjs/vuetify) `VDateInput` component. +HTML report trace viewer showing step list and DOM snapshot +HTML report trace viewer showing step list and DOM snapshot ## Recorded Steps @@ -133,6 +131,9 @@ Each retry or repeat of a test is recorded as a separate trace. The viewer opens Trace view also captures the page's accessibility tree with each snapshot. The view selector in the trace viewer header switches the snapshot pane between **DOM** and **Aria**. The Aria view lists the roles, accessible names, and states that role-based locators such as `getByRole()` see, in the same format as [aria snapshots](/guide/browser/aria-snapshots). Set [`traceView.ariaSnapshot`](/config/browser/traceview#traceview-ariasnapshot) to `false` to disable it. +HTML report trace viewer showing step list and Aria snapshot +HTML report trace viewer showing step list and Aria snapshot + ## What Snapshots Capture A snapshot captures the DOM tree, attributes, form values, same-origin readable CSS, element scroll positions, viewport size, and window scroll position. Iframe content is not captured, so both same-origin and cross-origin iframes replay as empty frames. diff --git a/docs/public/browser/trace-view-aria-dark.png b/docs/public/browser/trace-view-aria-dark.png new file mode 100644 index 000000000000..e3683219d9a2 Binary files /dev/null and b/docs/public/browser/trace-view-aria-dark.png differ diff --git a/docs/public/browser/trace-view-aria-light.png b/docs/public/browser/trace-view-aria-light.png new file mode 100644 index 000000000000..8d40fdb6b62e Binary files /dev/null and b/docs/public/browser/trace-view-aria-light.png differ diff --git a/docs/public/browser/trace-view-dark.png b/docs/public/browser/trace-view-dark.png index dd425a0853b7..910022b647c9 100644 Binary files a/docs/public/browser/trace-view-dark.png and b/docs/public/browser/trace-view-dark.png differ diff --git a/docs/public/browser/trace-view-light.png b/docs/public/browser/trace-view-light.png index 7ad865045a27..02dbcd906ccb 100644 Binary files a/docs/public/browser/trace-view-light.png and b/docs/public/browser/trace-view-light.png differ