Skip to content

Commit 0f26ac1

Browse files
committed
fix(docs): fix Cypress CI timeout by removing --open flag and increasing wait-on timeout
The preview command included --open which tries to launch a browser, causing issues in headless CI. Also increased wait-on timeout from 15s to 60s to accommodate slower CI environments. https://claude.ai/code/session_012Jk2EZg5RhCkfrE72GcREQ
1 parent 71d5423 commit 0f26ac1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/scripts/test-cypress

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set -e
55
cd "$(dirname "$0")/.."
66

77
echo '== Starting server =='
8-
pnpm run preview &
8+
pnpm exec iles preview --port 3050 &
99

1010
echo '== Waiting for server to respond... =='
11-
pnpx wait-on http-get://localhost:3050 --delay 1000 --timeout 15000
11+
pnpx wait-on http-get://localhost:3050 --delay 1000 --timeout 60000
1212

1313
echo '== Server ready! =='
1414

0 commit comments

Comments
 (0)