diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index def3084..078a3ce 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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()