Skip to content

Commit bf8e69b

Browse files
committed
ci: improve e2e tests
1 parent 04355b8 commit bf8e69b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/reusable-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239
runs-on: ubuntu-latest
240240
needs: build-modern-node
241241
# Use Playwright container for E2E tests, which has all dependencies and all browsers installed
242-
container: mcr.microsoft.com/playwright:v1.52.0-jammy
242+
# container: mcr.microsoft.com/playwright:v1.52.0-jammy
243243
# env:
244244
# # fix Firefox permission issue (Firefox is unable to launch if the $HOME folder isn't owned by the current user)
245245
# HOME: /root
@@ -254,6 +254,9 @@ jobs:
254254
with:
255255
node-version: ${{ vars.DEFAULT_NODE_VERSION }}
256256

257+
- name: Install Playwright dependencies
258+
run: npx playwright install-deps webkit
259+
257260
- name: Download node_modules from artifacts
258261
id: download_node_modules
259262
uses: actions/download-artifact@v4
@@ -266,6 +269,9 @@ jobs:
266269
if: steps.download_node_modules.outcome != 'success'
267270
run: npm ci
268271

272+
- name: Install playwright browsers
273+
run: npx playwright install
274+
269275
- name: Download build output from artifacts
270276
id: download_build_output
271277
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)