Closed karpikpl closed 10 months ago
Ok, so this happens when there are multiple profiles and one of the has this section
/* Run your local dev server before starting the tests */
webServer: {
cwd: 'web-app',
command: 'npx http-server -p 4200',
url: 'http://localhost:4200',
timeout: 240000,
reuseExistingServer: !process.env.CI,
stderr: 'pipe',
stdout: 'pipe'
},
that other profile get selected by DEFAULT (!) which causes this error
shouldn't default profile be playwright.config.ts
?
shouldn't default profile be playwright.config.ts
Default profile is the first profile in the list when you first open VS Code.
ok, makes sense
Context:
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and that we can run and debug locally. For example:
Describe the bug
Config file
Test file (self-contained)
Steps
Expected
Test runs
Actual