fix(ci): pin playwright@1.51.0 and set PLAYWRIGHT_BROWSERS_PATH for baked-in browsers

This commit is contained in:
Jarian Cottingham 2026-07-08 00:20:40 +00:00 committed by Jarian
parent 0657b654b6
commit b223b0b7e1

View File

@ -169,7 +169,7 @@ jobs:
done
echo "App failed to start" && exit 1
- name: Run Playwright tests
- name: Run Playwright tests
run: |
APP_PORT="${{ steps.port.outputs.app_port }}"
docker run --rm \
@ -177,8 +177,9 @@ jobs:
-v $GITHUB_WORKSPACE/tests/playwright:/tests \
-w /tests \
-e APP_URL=http://newsarchiver-e2e:${APP_PORT} \
-e PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \
mcr.microsoft.com/playwright:v1.51.0-jammy \
npx playwright test
npx playwright@1.51.0 test
- name: Cleanup
if: always()