fix(ci): pin playwright@1.51.0 and set PLAYWRIGHT_BROWSERS_PATH for baked-in browsers
This commit is contained in:
parent
0657b654b6
commit
b223b0b7e1
@ -177,8 +177,9 @@ jobs:
|
|||||||
-v $GITHUB_WORKSPACE/tests/playwright:/tests \
|
-v $GITHUB_WORKSPACE/tests/playwright:/tests \
|
||||||
-w /tests \
|
-w /tests \
|
||||||
-e APP_URL=http://newsarchiver-e2e:${APP_PORT} \
|
-e APP_URL=http://newsarchiver-e2e:${APP_PORT} \
|
||||||
|
-e PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \
|
||||||
mcr.microsoft.com/playwright:v1.51.0-jammy \
|
mcr.microsoft.com/playwright:v1.51.0-jammy \
|
||||||
npx playwright test
|
npx playwright@1.51.0 test
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user