Skip to content

Commit d10acc3

Browse files
chore: restore Gatsby integration test in CI workflow and fix NextJS test command
1 parent e307d92 commit d10acc3

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,5 @@ jobs:
6363
- name: Run integration test (NextJS)
6464
run: npm run test:nextjs
6565

66-
# - name: Run integration test (Gatsby)
67-
# run: npm run test:gatsby
68-
# Skipped NextJS and Gatsby integration tests due to dependency issues
66+
- name: Run integration test (Gatsby)
67+
run: npm run test:gatsby

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
"test:cra:watch": "start-server-and-test start:api 3001 start:cra 3000 cypress:open",
3636
"test:gatsby": "start-server-and-test start:api 3001 start:gatsby http-get://localhost:3000 cypress:run",
3737
"test:gatsby:watch": "start-server-and-test start:api 3001 start:gatsby 3000 cypress:open",
38-
"test:nextjs": "start-server-and-test start:api 3001 start:nextjs http-get://127.0.0.1:3000 cypress:run",
38+
"test:nextjs": "start-server-and-test start:api 3001 start:nextjs 3000 cypress:run",
3939
"test:nextjs:watch": "start-server-and-test start:api 3001 start:nextjs 3000 cypress:open",
4040
"test:integration": "npm run test:cra && npm run test:gatsby && npm run test:nextjs",
41-
"cypress:run": "DEBUG=cypress:net-stubbing:server:intercept-response cypress run --spec 'cypress/e2e/smoke.cy.ts'",
41+
"cypress:run": "cypress run --spec 'cypress/e2e/smoke.cy.ts'",
4242
"cypress:open": "cypress open"
4343
},
4444
"repository": {

0 commit comments

Comments
 (0)