File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ jobs:
9191 if : github.event_name == 'workflow_dispatch' || steps.changes.outputs.website_e2e == 'true'
9292 run : pnpm --filter @opentickly/website run build
9393
94- - name : Install Playwright browsers
94+ - name : Install Playwright dependencies
9595 if : github.event_name == 'workflow_dispatch' || steps.changes.outputs.website_e2e == 'true'
9696 timeout-minutes : 10
97- run : pnpm exec vp exec playwright install --with- deps --only-shell chromium
97+ run : pnpm exec vp exec playwright install- deps chromium
9898
9999 - name : Start backend
100100 if : github.event_name == 'workflow_dispatch' || steps.changes.outputs.website_e2e == 'true'
@@ -133,6 +133,8 @@ jobs:
133133
134134 - name : Run E2E tests
135135 if : github.event_name == 'workflow_dispatch' || steps.changes.outputs.website_e2e == 'true'
136+ env :
137+ PLAYWRIGHT_BROWSER_CHANNEL : chrome
136138 run : |
137139 cd apps/website
138140 pnpm exec vp exec playwright test
Original file line number Diff line number Diff line change 11import os from "node:os" ;
22import { defineConfig } from "@playwright/test" ;
33
4+ const browserChannel = process . env . PLAYWRIGHT_BROWSER_CHANNEL ;
5+
46export default defineConfig ( {
57 testDir : "./e2e" ,
68 retries : 1 ,
@@ -9,6 +11,7 @@ export default defineConfig({
911 use : {
1012 actionTimeout : 5_000 ,
1113 baseURL : process . env . PLAYWRIGHT_BASE_URL ?? "http://localhost:5173" ,
14+ channel : browserChannel === undefined || browserChannel === "" ? undefined : browserChannel ,
1215 headless : true ,
1316 locale : "en-US" ,
1417 // Pin browser timezone so tests that assert literal time strings stay
You can’t perform that action at this time.
0 commit comments