diff --git a/docs/docs/test-types/container-executor.mdx b/docs/docs/test-types/container-executor.mdx index 4ef8f706f89..2630e031b8a 100644 --- a/docs/docs/test-types/container-executor.mdx +++ b/docs/docs/test-types/container-executor.mdx @@ -213,7 +213,7 @@ spec: image: mcr.microsoft.com/playwright:v1.31.1-focal command: ["/bin/sh", "-c"] args: - - "npm install; npx playwright test" + - "npm install; npx --yes playwright@1.31.1 test" executor_type: container types: - container-executor-playwright-v1.31.1/test diff --git a/test/executors/container-executor-playwright.yaml b/test/executors/container-executor-playwright.yaml index 1cdab07cd44..2e4de56a295 100644 --- a/test/executors/container-executor-playwright.yaml +++ b/test/executors/container-executor-playwright.yaml @@ -6,7 +6,7 @@ spec: image: mcr.microsoft.com/playwright:v1.32.3-focal command: ["/bin/sh", "-c"] args: - - "npm ci && CI=1 npx playwright test --output /data/artifacts" + - "npm ci && npx --yes playwright@1.32.3 test --output /data/artifacts" executor_type: container types: - container-executor-playwright-v1.32.3/test @@ -21,7 +21,7 @@ spec: image: mcr.microsoft.com/playwright:v1.31.1-focal command: ["/bin/sh", "-c"] args: - - "npm ci; npx playwright test --output /data/artifacts" + - "npm ci && npx --yes playwright@1.31.1 --output /data/artifacts" executor_type: container types: - container-executor-playwright-v1.31.1/test