refactor(tests): rename Playwright test scripts to e2e

This commit is contained in:
taroj1205 2025-06-22 18:02:50 +12:00
parent dc30633bc3
commit b072e7a0ec
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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": {