docs: fix HEADFUL run instructions (#5980)

This commit is contained in:
Ross Wollman 2021-03-29 20:04:44 -07:00 committed by GitHub
parent 6d6f802e5a
commit 0b6625bbad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,7 @@ it.skip('should work', async ({server, page}) => {
- To run tests in non-headless (headful) mode: - To run tests in non-headless (headful) mode:
```bash ```bash
HEADLESS=false npm run ctest HEADFUL=1 npm run ctest
``` ```
- To run tests with custom browser executable, specify `CRPATH`, `WKPATH` or `FFPATH` env variable that points to browser executable: - To run tests with custom browser executable, specify `CRPATH`, `WKPATH` or `FFPATH` env variable that points to browser executable:
@ -181,7 +181,7 @@ CRPATH=<path-to-executable> npm run ctest
- To run tests in slow-mode: - To run tests in slow-mode:
```bash ```bash
HEADLESS=false SLOW_MO=500 npm run wtest HEADFUL=1 SLOW_MO=500 npm run wtest
``` ```
- When should a test be marked with `skip` or `fail`? - When should a test be marked with `skip` or `fail`?