Skip to content

Commit ceacdf3

Browse files
fix(ci): ensure CRA app is ready before running cypress test
1 parent d3e7259 commit ceacdf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ jobs:
7676
7777
- name: Run integration test (CRA)
7878
run: |
79-
npx cypress run --spec 'cypress/e2e/smoke.cy.ts' \
80-
--browser chrome --headless \
81-
--no-sandbox --disable-gpu --disable-dev-shm-usage
79+
npm wait-on http://127.0.0.1:3000
80+
npx cypress run --spec 'cypress/e2e/smoke.cy.ts' --browser chrome --headless
8281
env:
8382
CI: true
8483

0 commit comments

Comments
 (0)