diff --git a/.sisyphus/scripts/run-pw.sh b/.sisyphus/scripts/run-pw.sh index bdacfc5..95eefa1 100755 --- a/.sisyphus/scripts/run-pw.sh +++ b/.sisyphus/scripts/run-pw.sh @@ -12,9 +12,14 @@ OUTFILE="${1:?need output file path}" shift # Spawn detached; touch DONE marker when complete (success or failure) +# NOTE: do NOT set CI=true — that flips Playwright's reuseExistingServer to +# false and makes it try to spawn its own webServer on :5173, which collides +# with the docker compose dev stack (paratype-web-dev). Leaving CI unset +# means reuseExistingServer=true → Playwright connects to the running dev +# server in docker. nohup bash -c " cd /home/joey/Projects/rules - export CI=true GIT_TERMINAL_PROMPT=0 GIT_PAGER=cat PAGER=cat + export GIT_TERMINAL_PROMPT=0 GIT_PAGER=cat PAGER=cat bunx playwright test $* > '$OUTFILE' 2>&1 echo \"EXIT_CODE=\$?\" >> '$OUTFILE' touch '$OUTFILE.done'