File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 2121 - 8765:8765
2222 options : --hostname localhost -e YDB_ALLOW_ORIGIN="http://localhost:3000"
2323
24- container :
25- image : mcr.microsoft.com/playwright:v1.49.1-noble
26- options : --user 1001
24+ # container:
25+ # image: mcr.microsoft.com/playwright:v1.49.1-noble
26+ # options: --user 1001
2727
2828 steps :
2929 - uses : actions/checkout@v4
@@ -39,17 +39,20 @@ jobs:
3939 - name : Install dependencies
4040 run : npm ci
4141
42+ - name : Install Playwright deps
43+ run : npm run test:e2e:install
44+
4245 - name : Run Playwright tests
4346 id : run_tests
4447 run : npm run test:e2e
4548 env :
4649 CI : true
4750 PLAYWRIGHT_VIDEO : ' on'
48- PLAYWRIGHT_APP_BACKEND : backend:8765
49- REACT_APP_BACKEND : backend:8765
50- REACT_APP_META_BACKEND : undefined
51- DISABLE_ESLINT_PLUGIN : true
52- TSC_COMPILE_ON_ERROR : true
51+ # PLAYWRIGHT_APP_BACKEND: backend:8765
52+ # REACT_APP_BACKEND: backend:8765
53+ # REACT_APP_META_BACKEND: undefined
54+ # DISABLE_ESLINT_PLUGIN: true
55+ # TSC_COMPILE_ON_ERROR: true
5356
5457 - name : Upload Playwright artifacts
5558 if : always()
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import {devices} from '@playwright/test';
33
44const baseUrl = process . env . PLAYWRIGHT_BASE_URL ;
55// In CI all env vars defined in workflow yml
6- const runAppCommand = process . env . CI ? 'npm run start' : 'npm run dev' ;
6+ // const runAppCommand = process.env.CI ? 'npm run start' : 'npm run dev';
7+ const runAppCommand = 'npm run dev' ;
78
89const config : PlaywrightTestConfig = {
910 globalSetup : './tests/playwrightSetup.ts' ,
You can’t perform that action at this time.
0 commit comments