chore(e2e): default to chromium locally, run all browsers on CI

This commit is contained in:
yiling
2026-08-05 18:28:46 +08:00
parent e76ed19013
commit 2dc0f08725
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ jobs:
- name: Run video player harness tests
env:
E2E_SKIP_APP_SERVER: true
run: bun run test:e2e --project=harness-${{ matrix.project }}
run: bunx playwright test --project=harness-${{ matrix.project }}
- name: Upload Playwright report
if: ${{ !cancelled() }}
@@ -134,7 +134,7 @@ jobs:
run: bunx playwright install --with-deps ${{ matrix.project }}
- name: Run app E2E tests
run: bun run test:e2e --project=app-${{ matrix.project }} --no-deps
run: bunx playwright test --project=app-${{ matrix.project }} --no-deps
- name: Upload Playwright report
if: ${{ !cancelled() }}
+3 -2
View File
@@ -18,9 +18,10 @@
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test": "bun --bun vitest run",
"test:e2e": "playwright test",
"test:e2e": "playwright test --project=harness-chromium --project=app-chromium",
"test:e2e:all": "playwright test",
"test:e2e:workflow": "bun --bun vitest run -c packages/e2e/vitest.config.ts",
"test:e2e:ui": "playwright test --ui",
"test:e2e:ui": "playwright test --ui --project=harness-chromium --project=app-chromium",
"test:e2e:report": "playwright show-report",
"test:e2e:install": "playwright install --with-deps",
"harness:dev": "bun run packages/webui/e2e/harness/serve.ts",