Skip to content

Commit 99bfbd5

Browse files
committed
Update e2e example commands
I think the syntax changed when we moved from yarn to npm.
1 parent 238769e commit 99bfbd5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/playwright.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import path from "path"
55
// The default configuration runs all tests in three browsers with workers equal
66
// to half the available threads. See 'npm run test:e2e --help' to customize
77
// from the command line. For example:
8-
// npm run test:e2e --workers 1 # Run with one worker
9-
// npm run test:e2e --project Chromium # Only run on Chromium
10-
// npm run test:e2e --grep login # Run tests matching "login"
11-
// PWDEBUG=1 npm run test:e2e # Run Playwright inspector
8+
// npm run test:e2e -- --workers 1 # Run with one worker
9+
// npm run test:e2e -- --project Chromium # Only run on Chromium
10+
// npm run test:e2e -- --grep login # Run tests matching "login"
11+
// PWDEBUG=1 npm run test:e2e # Run Playwright inspector
1212
const config: PlaywrightTestConfig = {
1313
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
1414
timeout: 60000, // Each test is given 60 seconds.

0 commit comments

Comments
 (0)