diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 078a3ce..52887ea 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -174,12 +174,13 @@ jobs: APP_PORT="${{ steps.port.outputs.app_port }}" docker run --rm \ --network newsarchiver-network \ - -v $GITHUB_WORKSPACE/tests/playwright:/tests \ + -v $GITHUB_WORKSPACE/tests/playwright/tests:/tests/tests \ + -v $GITHUB_WORKSPACE/tests/playwright/playwright.config.ts:/tests/playwright.config.ts \ -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@1.51.0 test + sh -c "npm install @playwright/test@1.51.0 && npx playwright@1.51.0 test" - name: Cleanup if: always()