File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 3030 needs : detect-changes
3131 if : needs.detect-changes.outputs.changed == 'true'
3232 runs-on : ubuntu-latest
33+ container :
34+ image : mcr.microsoft.com/playwright:v1.56.1-noble
3335
3436 steps :
3537 - name : Checkout code
@@ -76,15 +78,14 @@ jobs:
7678 - name : Install Playwright
7779 run : npx playwright install --with-deps chromium
7880
79- - name : Start Xvfb
80- run : |
81- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
82- echo "DISPLAY=:99" >> $GITHUB_ENV
83-
8481 - name : Run Playwright Tests
8582 working-directory : packages/frontend-main
86- run : CI=1 DEBUG=pw:browser* pnpm test:e2e --headed
83+ run : |
84+ Xvfb :99 -screen 0 1280x720x24 &
85+ export DISPLAY=:99
86+ pnpm exec playwright test
8787 env :
88+ DEBUG : ' pw:browser*'
8889 DISPLAY : ' :99'
8990
9091 - name : Upload playwright results
You can’t perform that action at this time.
0 commit comments