diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.md index f91a0b6864..0c3fdc5ee8 100644 --- a/docs/src/test-cli-js.md +++ b/docs/src/test-cli-js.md @@ -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 ` or `--grep `: Only run tests matching this regular expression. For example, this will run `'should add to cart'` when passed `-g="add to cart"`. +- `-g ` or `--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 `: Only run tests **not** matching this regular expression. The opposite of `--grep`.