diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index af6dc5c..577579d 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -247,7 +247,7 @@ jobs: run: pnpm exec playwright install --with-deps - name: Run Playwright Tests (4 Shards) - run: pnpm exec turbo run test:playwright:shard1 test:playwright:shard2 test:playwright:shard3 test:playwright:shard4 + run: pnpm exec turbo run test:e2e:shard1 test:e2e:shard2 test:e2e:shard3 test:e2e:shard4 timeout-minutes: 10 - name: Upload Playwright Report diff --git a/package.json b/package.json index e0230c1..0e140cb 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,11 @@ "commitlint": "commitlint --edit", "test": "vitest run", "test:coverage": "vitest --coverage", - "test:playwright": "playwright test --reporter=list", - "test:playwright:shard1": "playwright test --reporter=list --shard=1/4", - "test:playwright:shard2": "playwright test --reporter=list --shard=2/4", - "test:playwright:shard3": "playwright test --reporter=list --shard=3/4", - "test:playwright:shard4": "playwright test --reporter=list --shard=4/4", + "test:e2e": "playwright test", + "test:e2e:shard1": "playwright test --shard=1/4", + "test:e2e:shard2": "playwright test --shard=2/4", + "test:e2e:shard3": "playwright test --shard=3/4", + "test:e2e:shard4": "playwright test --shard=4/4", "prepare": "lefthook install" }, "dependencies": {