mirror of
https://github.com/coder/code-server.git
synced 2026-05-22 12:17:26 +02:00
Update e2e example commands
I think the syntax changed when we moved from yarn to npm.
This commit is contained in:
@@ -5,9 +5,9 @@ import path from "path"
|
||||
// The default configuration runs all tests in three browsers with workers equal
|
||||
// to half the available threads. See 'npm run test:e2e --help' to customize
|
||||
// from the command line. For example:
|
||||
// npm run test:e2e --workers 1 # Run with one worker
|
||||
// npm run test:e2e --project Chromium # Only run on Chromium
|
||||
// npm run test:e2e --grep login # Run tests matching "login"
|
||||
// npm run test:e2e -- --workers 1 # Run with one worker
|
||||
// npm run test:e2e -- --project Chromium # Only run on Chromium
|
||||
// npm run test:e2e -- --grep login # Run tests matching "login"
|
||||
// PWDEBUG=1 npm run test:e2e # Run Playwright inspector
|
||||
const config: PlaywrightTestConfig = {
|
||||
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
||||
|
||||
Reference in New Issue
Block a user