From b072e7a0ec1eed0ec01cf91c602a0a9e6c1ef021 Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Sun, 22 Jun 2025 18:02:50 +1200 Subject: [PATCH] refactor(tests): rename Playwright test scripts to e2e --- .github/workflows/ci-pipeline.yml | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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": {