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 npx playwright test --headed
``` ```
- Run tests in a particular browser (config-less mode) - Run all the tests against a specific project
```bash ```bash
npx playwright test --browser=webkit npx playwright test --project=chromium
```
- Run tests in all browsers (config-less mode)
```bash
npx playwright test --browser=all
``` ```
- Disable [parallelization](./test-parallel.md) - Disable [parallelization](./test-parallel.md)