mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
refactor(tests): rename Playwright test scripts to e2e
This commit is contained in:
parent
dc30633bc3
commit
b072e7a0ec
2 changed files with 6 additions and 6 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -247,7 +247,7 @@ jobs:
|
||||||
run: pnpm exec playwright install --with-deps
|
run: pnpm exec playwright install --with-deps
|
||||||
|
|
||||||
- name: Run Playwright Tests (4 Shards)
|
- 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
|
timeout-minutes: 10
|
||||||
|
|
||||||
- name: Upload Playwright Report
|
- name: Upload Playwright Report
|
||||||
|
|
10
package.json
10
package.json
|
@ -21,11 +21,11 @@
|
||||||
"commitlint": "commitlint --edit",
|
"commitlint": "commitlint --edit",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:coverage": "vitest --coverage",
|
"test:coverage": "vitest --coverage",
|
||||||
"test:playwright": "playwright test --reporter=list",
|
"test:e2e": "playwright test",
|
||||||
"test:playwright:shard1": "playwright test --reporter=list --shard=1/4",
|
"test:e2e:shard1": "playwright test --shard=1/4",
|
||||||
"test:playwright:shard2": "playwright test --reporter=list --shard=2/4",
|
"test:e2e:shard2": "playwright test --shard=2/4",
|
||||||
"test:playwright:shard3": "playwright test --reporter=list --shard=3/4",
|
"test:e2e:shard3": "playwright test --shard=3/4",
|
||||||
"test:playwright:shard4": "playwright test --reporter=list --shard=4/4",
|
"test:e2e:shard4": "playwright test --shard=4/4",
|
||||||
"prepare": "lefthook install"
|
"prepare": "lefthook install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue