From 81aea14b76992bb2c17478348fffd3b7120c159f Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 14 May 2025 11:02:36 +0200 Subject: [PATCH] ci: move Playwright browser installation to test execution step --- .github/workflows/wc-e2e-test.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/wc-e2e-test.yaml b/.github/workflows/wc-e2e-test.yaml index 6030fea..cfa34ca 100644 --- a/.github/workflows/wc-e2e-test.yaml +++ b/.github/workflows/wc-e2e-test.yaml @@ -31,16 +31,6 @@ jobs: run: wait-on --timeout 60000 http://localhost:7880 - name: Checkout OpenVidu Meet uses: actions/checkout@v4 - - name: Install Playwright browsers - run: | - cd frontend/webcomponent - npm install - # Install Playwright browsers - mkdir -p /tmp/ms-playwright - PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium - env: - PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright - - name: Setup OpenVidu Meet shell: bash run: | @@ -62,6 +52,9 @@ jobs: - name: Run tests run: | cd frontend/webcomponent + # Install Playwright browsers + mkdir -p /tmp/ms-playwright + PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium npm run test:e2e env: RUN_MODE: CI