File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
"main" : " index.js" ,
11
11
"scripts" : {
12
12
"start" : " pnpm --parallel --filter nextjs-react_* run dev" ,
13
- "e2e:ci" : " pnpm start & wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\" supportFile\" : \" ../cypress-e2e/support/e2e.ts\" }' --spec \" ./e2e/runAll.cy.ts\" --browser=chrome"
13
+ "e2e:ci" : " pnpm start & sleep 2 && wait-on http-get://localhost:3000/ && wait-on http-get://localhost:3001 / && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\" supportFile\" : \" ../cypress-e2e/support/e2e.ts\" }' --spec \" ./e2e/runAll.cy.ts\" --browser=chrome"
14
14
},
15
15
"keywords" : [],
16
16
"author" : " rahulteja-dev" ,
Original file line number Diff line number Diff line change 8
8
"start" : " pnpm --parallel --filter nextjs-ssr_* dev" ,
9
9
"build" : " pnpm --parallel --filter nextjs-ssr_* build" ,
10
10
"serve" : " pnpm --parallel --filter nextjs-ssr_* start" ,
11
- "e2e:ci" : " pnpm run start & wait-on http-get://localhost:3001/ && wait-on http-get://localhost:3002/ && wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\" supportFile\" : \" ../cypress-e2e/support/e2e.ts\" }' --spec \" ./e2e/*.cy.ts\" --browser=chrome"
11
+ "e2e:ci" : " pnpm run start & sleep 10 && wait-on http-get://localhost:3001/ && wait-on http-get://localhost:3002/ && wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\" supportFile\" : \" ../cypress-e2e/support/e2e.ts\" }' --spec \" ./e2e/*.cy.ts\" --browser=chrome"
12
12
},
13
13
"dependencies" : {
14
14
"concurrently" : " ^8.2.2" ,
You can’t perform that action at this time.
0 commit comments