Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default defineConfig({
stderr: 'pipe',
env: {
VITE_OPEN_BROWSER: 'false',
PORT: '3000', // Force port 3000 for E2E tests (prevents auto-increment)
},
},

Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default defineConfig(({ mode }) => {
// Development server
server: {
port: env.PORT ? parseInt(env.PORT) : 3000, // Use PORT env var or default to 3000
strictPort: isCI, // Fail if port unavailable on CI (prevents Playwright port mismatch)
host: true,
open: shouldAutoOpen && !isCI,

Expand Down
Loading