chore(cli): add example for running tests against a project (#14926)
This commit is contained in:
parent
42e6e094ca
commit
21c510ee0d
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue