Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export default defineConfig({
},
],
webServer: {
command: 'npm start -- --port 4311',
// CI tests the production build, which is what gets deployed, so build-tool
// updates are checked at runtime and not only by `npm run build` succeeding.
command: process.env.CI ? 'npm start -- --port 4311 --configuration=production' : 'npm start -- --port 4311',
url: baseURL,
reuseExistingServer: !process.env.CI,
timeout: 120_000,
Expand Down
Loading