From 634ba85c83ae19de1e1610e5b393e35eb03012e4 Mon Sep 17 00:00:00 2001 From: Takuya Matsuda Date: Sat, 14 May 2022 01:25:56 +0900 Subject: [PATCH] docs: fix grep example command (#14138) --- docs/src/test-cli-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.