Skip to content

Commit 6a74d30

Browse files
committed
04/02: mention local traces
1 parent bc71368 commit 6a74d30

File tree

1 file changed

+10
-0
lines changed
  • exercises/04.debugging/02.solution.trace-viewer

1 file changed

+10
-0
lines changed

exercises/04.debugging/02.solution.trace-viewer/README.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ Good job! 👏
44

55
Please wait for the others to finish so we could go through the solution to this exercise together.
66

7+
## Generating local traces
8+
9+
You can generate a trace of your local test run by setting the `--trace` CLI option of `playwright` to `on`:
10+
11+
```sh
12+
npx playwright test --trace on
13+
# or
14+
npm run test:e2e -- --trace on
15+
```
16+
717
## Related materials
818

919
- [Trace Viewer](https://playwright.dev/docs/trace-viewer)

0 commit comments

Comments
 (0)