Skip to content

Commit

Permalink
ensure playwright has its own dev server at all times, otherwise we r…
Browse files Browse the repository at this point in the history
…isk using a running dev-server with other mocked endpoints
  • Loading branch information
iOvergaard committed Aug 16, 2022
1 parent 56b8181 commit 9055e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ const config: PlaywrightTestConfig = {

/* Run your local dev server before starting the tests */
webServer: {
command: 'npm run dev -- --mode e2e',
port: 5173,
reuseExistingServer: !process.env.CI,
command: 'npm run dev -- --port 8000 --mode e2e',
port: 8000,
reuseExistingServer: false,
},
};

Expand Down

0 comments on commit 9055e5b

Please sign in to comment.