File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ jobs:
9292 # Start Frontend (Forcing port 3431)
9393 cd emr-client && npm start -- -p 3431 &
9494
95- # Wait for ports to be open (10-min timeout for slow cloud seeding)
96- # We wait for the TCP ports instead of the /health endpoint to avoid hangs during DB seeding
97- npx wait-on -t 600000 tcp: 127.0.0.1:34732 tcp: 127.0.0.1:3431
98- echo "Services are online . Starting Playwright suite."
95+ # Wait for services to be 100% Healthy (10-min timeout for slow cloud seeding)
96+ # The /health endpoint only returns 200 OK after the database seeding is FINISHED.
97+ npx wait-on -t 600000 http:// 127.0.0.1:34732/health http:// 127.0.0.1:3431
98+ echo "Services are 100% Healthy . Starting Playwright suite."
9999
100100 # Run Playwright
101101 cd emr-client && npx playwright test tests/clinical-workflow.spec.ts --project=chromium --workers=1
You can’t perform that action at this time.
0 commit comments