-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update @playwright/test to 1.47.2 (#5016)
* chore(deps): update @playwright/test to 1.47.2 * test(vrt): update snapshots * test(vrt): update snapshots --------- Co-authored-by: Josh Black <[email protected]>
- Loading branch information
Showing
6 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-6.69 KB
(83%)
...shots/SelectPanel-Default-forced-colors-dark-modern-action-list--true-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
#!/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=http://host.docker.internal:6006 npx playwright test $@" | ||
/bin/bash -c "npm install && STORYBOOK_URL=$STORYBOOK_URL npx playwright test $@" |