Skip to content

Commit ef76b5c

Browse files
fix: restore Cypress test compatibility for CI while maintaining Playwright tests
- Update e2e:ci and legacy:e2e:ci commands to run Cypress tests as expected by CI - Add new e2e:ci:playwright and legacy:e2e:ci:playwright commands for Playwright testing - Both webpack (legacy) and rspack tests pass locally with Cypress - Maintains backward compatibility with existing CI infrastructure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 64bdb58 commit ef76b5c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

advanced-api/dynamic-remotes/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"test:e2e": "npx playwright test",
1818
"test:e2e:ui": "npx playwright test --ui",
1919
"test:e2e:debug": "npx playwright test --debug",
20-
"e2e:ci": "npx playwright test --reporter=list",
21-
"legacy:e2e:ci": "npx playwright test --reporter=list",
20+
"e2e:ci": "pnpm start & sleep 1 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3003 && npx cypress run --config-file ../../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome",
21+
"legacy:e2e:ci": "pnpm legacy:start & sleep 1 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3003 && npx cypress run --config-file ../../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome",
2222
"e2e:ci:cypress": "pnpm start & sleep 1 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3003 && npx cypress run --config-file ../../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome",
23-
"legacy:e2e:ci:cypress": "pnpm legacy:start & sleep 1 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3003 && npx cypress run --config-file ../../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome"
23+
"legacy:e2e:ci:cypress": "pnpm legacy:start & sleep 1 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3003 && npx cypress run --config-file ../../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome",
24+
"e2e:ci:playwright": "npx playwright test --reporter=list",
25+
"legacy:e2e:ci:playwright": "npx playwright test --reporter=list"
2426
},
2527
"devDependencies": {
2628
"@playwright/test": "^1.54.2",

0 commit comments

Comments
 (0)