Skip to content

Commit

Permalink
fix: use proper Playwright version in its executor (#4171)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Jul 13, 2023
1 parent 63ea519 commit 111f6a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/test-types/container-executor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/executors/container-executor-playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 [email protected] --output /data/artifacts"
executor_type: container
types:
- container-executor-playwright-v1.31.1/test
Expand Down

0 comments on commit 111f6a4

Please sign in to comment.