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