Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore(deps): update @playwright/test to 1.47.2" #5103

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run AAT
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.47.2-jammy
uses: docker://mcr.microsoft.com/playwright:v1.43.0-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 9 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@github/markdownlint-github": "^0.6.0",
"@github/prettier-config": "0.0.6",
"@mdx-js/react": "1.6.22",
"@playwright/test": "^1.47.2",
"@playwright/test": "1.43.0",
"@prettier/sync": "0.5.1",
"@primer/stylelint-config": "^13.0.1-rc.5358628",
"@size-limit/preset-big-lib": "11.0.2",
Expand Down
16 changes: 1 addition & 15 deletions script/test-e2e
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
#!/bin/bash

set -e
set -x

PLAYWRIGHT_VERSION=$(npm --json list @playwright/test | jq --raw-output '.dependencies["@playwright/test"].version')

if [ -z "$PLAYWRIGHT_VERSION" ]; then
echo "Unable to find Playwright version. Make sure @playwright/test is installed."
exit 1
fi

echo "Using Playwright version $PLAYWRIGHT_VERSION"

if [ -z "$STORYBOOK_URL" ]; then
STORYBOOK_URL="http://host.docker.internal:6006"
fi

echo "Using Storybook at: $STORYBOOK_URL"

docker run --rm \
--network host \
-v $(pwd):/workspace \
-w /workspace \
-it "mcr.microsoft.com/playwright:v$PLAYWRIGHT_VERSION-jammy" \
/bin/bash -c "npm install && STORYBOOK_URL=$STORYBOOK_URL npx playwright test $@"
/bin/bash -c "npm install && STORYBOOK_URL=http://host.docker.internal:6006 npx playwright test $@"
Loading