We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d53f2 commit 7f55577Copy full SHA for 7f55577
script/test-e2e
@@ -2,9 +2,11 @@
2
3
set -x
4
5
+PLAYWRIGHT_VERSION=$(npm --json list @playwright/test | jq --raw-output '.dependencies["@playwright/test"].version')
6
+
7
docker run --rm \
8
--network host \
9
-v $(pwd):/workspace \
10
-w /workspace \
- -it mcr.microsoft.com/playwright:v1.43.0-jammy \
11
+ -it "mcr.microsoft.com/playwright:v$PLAYWRIGHT_VERSION-jammy" \
12
/bin/bash -c "npm install && STORYBOOK_URL=http://host.docker.internal:6006 npx playwright test $@"
0 commit comments