Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

refine the grepInvert doc (#36883)

Kevin Tan33e70e39954c
diff --git a/docs/src/test-api/class-testproject.md b/docs/src/test-api/class-testproject.md
index 634535fd49..30f316c82b 100644
--- a/docs/src/test-api/class-testproject.md
+++ b/docs/src/test-api/class-testproject.md
@@ -134,7 +134,7 @@ Filter to only run tests with a title matching one of the patterns. For example,
* since: v1.10
- type: ?<[RegExp]|[Array]<[RegExp]>>
-Filter to only run tests with a title **not** matching one of the patterns. This is the opposite of [`property: TestProject.grep`]. Also available globally and in the [command line](../test-cli.md) with the `--grep-invert` option.
+Filter to only run tests with a title **not** matching any of the patterns. This is the opposite of [`property: TestProject.grep`]. Also available globally and in the [command line](../test-cli.md) with the `--grep-invert` option.
`grepInvert` option is also useful for [tagging tests](../test-annotations.md#tag-tests).
diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts
index 13e31cd833..32c285071e 100644
--- a/packages/playwright/types/test.d.ts
+++ b/packages/playwright/types/test.d.ts
@@ -305,7 +305,7 @@ interface TestProject<TestArgs = {}, WorkerArgs = {}> {
grep?: RegExp|Array<RegExp>;
/**
- * Filter to only run tests with a title **not** matching one of the patterns. This is the opposite of
+ * Filter to only run tests with a title **not** matching any of the patterns. This is the opposite of
* [testProject.grep](https://playwright.dev/docs/api/class-testproject#test-project-grep). Also available globally
* and in the [command line](https://playwright.dev/docs/test-cli) with the `--grep-invert` option.
*