Skip to content

Commit

Permalink
Add debuging example to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Aug 21, 2024
1 parent 3af1d2e commit 1717903
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/contributor/e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ _Choose one of the following options_
npm run test:e2e:debug
```

Run all the tests against a specific project.
```bash
npm run test:e2e:debug -- project=webkit
```
*
Run files that have *blocks.spec* in the file name.
```bash
npm run test:e2e:debug -- blocks.spec
```

> [!NOTE]
> When writing a test, using the debug mode is recommended since it will allow you to see the browser and the test in action.

Expand Down

0 comments on commit 1717903

Please sign in to comment.