Skip to content

docs(browser): rework trace view guide and config - #11746

Closed
hi-ogawa wants to merge 41 commits into
vitest-dev:mainfrom
hi-ogawa:docs/trace-view-rework
Closed

hi-ogawa wants to merge 41 commits into
vitest-dev:mainfrom
hi-ogawa:docs/trace-view-rework

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Sweeping slop writing that has been existed since initial docs

WIP 🤖

The trace view guide and the browser.traceView config page grew one patch at a time, and they still read as if trace view were opt-in. Several passages also said the same thing in different places, such as where to open traces, which appeared in a tip block, after Quick Start, and in the Common Setups table.

This PR rewrites both pages around the failure-only default. The guide answers "a browser test failed, how do I see what happened?" in order:

  • what trace view records, and that failed tests are recorded by default
  • the terminal failure output
  • where to open traces, with the common setups table
  • the trace viewer
  • recording every test, with live steps in Vitest UI
  • recorded steps, custom entries, retries, accessibility tree, and snapshot fidelity
  • relation to Playwright traces, now at the end

The config page becomes a plain reference. It lists the values directly, keeps the explanation of each mode in the mode section, and drops the options table that repeated the subsections below it.

hi-ogawa and others added 30 commits October 16, 2026 13:08
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/config/browser/traceview.md
#	packages/ui/client/components/trace/TraceView.vue
#	packages/vitest/src/node/config/resolveConfig.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… mode"

This reverts commit 394809a.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
hi-ogawa and others added 11 commits October 26, 2026 15:38
Accepting a mode made the flag consume a following test filter.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…-view-failure-only-default

# Conflicts:
#	packages/vitest/src/node/cli/cli-config.ts
…lure-only-default

# Conflicts:
#	docs/config/browser/traceview.md
#	docs/guide/cli-generated.md
#	packages/vitest/src/node/cli/cli-config.ts
#	packages/vitest/src/node/config/resolveConfig.ts
#	packages/vitest/src/node/types/browser.ts
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 26, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 547abe8
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6adf116f262942aa50224d5c
😎 Deploy Preview https://deploy-preview-11746--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@hi-ogawa

Copy link
Copy Markdown
Collaborator Author

Moved to #11767.

@hi-ogawa hi-ogawa closed this Oct 28, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant