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
8 changes: 7 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ export default defineConfig({
command: process.env.CI ? "pnpm build && pnpm start" : "pnpm dev",
port: 3000,
reuseExistingServer: !process.env.CI,
timeout: 120_000,
// CI: `pnpm build && pnpm start` requires the full Next.js build cycle
// (Next.js compile takes 5-15 minutes on the CI runner depending on
// cache state). 120s was too short and caused E2E to time out before
// the server could come up. 25 minutes gives slack for slow builds.
// Locally `pnpm dev` boots in seconds, so the original 2-minute cap
// is preserved.
timeout: process.env.CI ? 1_500_000 : 120_000,
},
});
Loading