From 2a36bc2de32a21f451cf184a78c0547af6572c0b Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Sat, 9 May 2026 13:48:39 -0700 Subject: [PATCH] fix(test): add --strict-port to force Vite to use port 3050 Vite was detecting port conflicts and switching to different ports Added --strict-port flag to force Vite to use exactly port 3050 This works with kill_port() function to ensure port is available --- scripts/tests/run-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tests/run-e2e.sh b/scripts/tests/run-e2e.sh index 28ad378..d40cf2e 100755 --- a/scripts/tests/run-e2e.sh +++ b/scripts/tests/run-e2e.sh @@ -87,7 +87,7 @@ echo "=========================================" # Start dev server in background SERVER_PID="" -pnpm dev -- --port $PORT > "$REPORTS_DIR/server-$TIMESTAMP.log" 2>&1 & +pnpm dev -- --port $PORT --strict-port > "$REPORTS_DIR/server-$TIMESTAMP.log" 2>&1 & SERVER_PID=$! # Save PID for cleanup