Skip to content

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

chore(cli): filter matches against absolute path (#19900)

Yury Semikhatsky2f3db200f627
diff --git a/packages/playwright-test/src/cli.ts b/packages/playwright-test/src/cli.ts
index 4196d4be28..6e4f52dbaf 100644
--- a/packages/playwright-test/src/cli.ts
+++ b/packages/playwright-test/src/cli.ts
@@ -73,7 +73,7 @@ function addTestCommand(program: Command) {
});
command.addHelpText('afterAll', `
Arguments [test-filter...]:
- Pass arguments to filter test files. Each argument is treated as a regular expression.
+ Pass arguments to filter test files. Each argument is treated as a regular expression. Matching is performed against the absolute file paths.
Examples:
$ npx playwright test my.spec.ts