Skip to content

Commit 9b2c76d

Browse files
fix(ci): wait for app to start before running Cypress tests
1 parent e651eea commit 9b2c76d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Run integration test (CRA)
6161
run: |
62-
npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npm run cypress:run -- --browser chrome --headless"
62+
npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npx wait-on http://127.0.0.1:3000 && curl -I http://127.0.0.1:3000 && npm run cypress:run -- --browser chrome --headless"
6363
env:
6464
CI: true
6565

0 commit comments

Comments
 (0)