Skip to content

Commit

Permalink
Added a snippet for observing the browser when running e2e tests (#13993
Browse files Browse the repository at this point in the history
)

* Added a snippet for observing the browser when running e2e tests
  • Loading branch information
draganescu authored and youknowriad committed Mar 6, 2019
1 parent 5bf75e7 commit 81f7908
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/contributors/testing-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ or interactively
npm run test-e2e:watch
```

Sometimes it's useful to observe the browser while running tests. To do so you can use these environment variables:

```bash
PUPPETEER_HEADLESS=false PUPPETEER_SLOWMO=80 npm run test-e2e:watch
```

If you're using a different setup, you can provide the base URL, username and password like this:

```bash
Expand Down

0 comments on commit 81f7908

Please sign in to comment.