chore(cli): add example for running tests against a project (#14926)

This commit is contained in:
Bill Brower 2022-06-20 22:08:18 -04:00 committed by GitHub
parent 42e6e094ca
commit 21c510ee0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,14 +44,9 @@ Here are the most common options available in the command line.
npx playwright test --headed
```
- Run tests in a particular browser (config-less mode)
- Run all the tests against a specific project
```bash
npx playwright test --browser=webkit
```
- Run tests in all browsers (config-less mode)
```bash
npx playwright test --browser=all
npx playwright test --project=chromium
```
- Disable [parallelization](./test-parallel.md)