File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ npx nx run-many --targets=build --projects=tag:type:pkg
7
7
8
8
echo " 🧪 Running E2E Test for Next.js Dev - Home"
9
9
killall node 2> /dev/null || true
10
- pnpm run app:next:dev
10
+ pnpm run app:next:dev & sleep 2 && npx wait-on 3000 3001 3002
11
11
npx nx run 3000-home:test:e2e
12
12
13
13
echo " 🧪 Running E2E Test for Next.js Dev - Shop"
14
14
killall node 2> /dev/null || true
15
- pnpm run app:next:dev
15
+ pnpm run app:next:dev & sleep 2 && npx wait-on 3000 3001 3002
16
16
npx nx run 3001-shop:test:e2e
17
17
18
18
echo " 🧪 Running E2E Test for Next.js Dev - Checkout"
19
19
killall node 2> /dev/null || true
20
- pnpm run app:next:dev
20
+ pnpm run app:next:dev & sleep 2 && npx wait-on 3000 3001 3002
21
21
npx nx run 3002-checkout:test:e2e
22
22
23
23
echo " ✅ All E2E tests completed successfully!"
You can’t perform that action at this time.
0 commit comments