docs: fix grep example command (#14138)

This commit is contained in:
Takuya Matsuda 2022-05-14 01:25:56 +09:00 committed by GitHub
parent c3beb71b07
commit 634ba85c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ Complete set of Playwright Test options is available in the [configuration file]
- `--forbid-only`: Whether to disallow `test.only`. Useful on CI.
- `-g <grep>` or `--grep <grep>`: Only run tests matching this regular expression. For example, this will run `'should add to cart'` when passed `-g="add to cart"`.
- `-g <grep>` or `--grep <grep>`: Only run tests matching this regular expression. For example, this will run `'should add to cart'` when passed `-g "add to cart"`.
- `--grep-invert <grep>`: Only run tests **not** matching this regular expression. The opposite of `--grep`.