Skip to content

Commit 01b64e5

Browse files
committed
Merge branch 'sync-docs' of https://github.com/vitest-dev/docs-cn into sync-e7c76dee-1
2 parents e29b046 + e7c76de commit 01b64e5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

guide/browser/trace-view.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,4 @@ npx playwright show-trace "path-to-trace-file"
123123

124124
Under the hood, Playwright still records its own low-level action events as usual. Vitest wraps them with source-location groups so you can jump straight from the trace timeline to the relevant line in your test.
125125

126-
Keep in mind that plain assertions like `expect(value).toBe(...)` run in Node, not the browser, so they won't show up in the trace.
127-
128126
For anything not covered automatically, you can use `page.mark()` or `locator.mark()` to add your own trace groups — see [Trace markers](#trace-markers) above.

0 commit comments

Comments
 (0)