We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fffa6 commit 1c3756dCopy full SHA for 1c3756d
.github/workflows/integration.yml
@@ -57,6 +57,18 @@ jobs:
57
- name: Install examples
58
run: npm run install:examples
59
60
+ - name: Wait for app to be reachable
61
+ run: |
62
+ echo "Waiting for CRA app to respond on port 3000..."
63
+ for i in {1..20}; do
64
+ if curl -s http://127.0.0.1:3000 > /dev/null; then
65
+ echo "App is up!"
66
+ break
67
+ fi
68
+ echo "Still waiting... ($i)"
69
+ sleep 3
70
+ done
71
+
72
- name: Run integration test (CRA)
73
run: |
74
npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npm run cypress:run -- --browser chrome --headless"
0 commit comments