Skip to content

Commit ca80dd6

Browse files
authored
chore(site): update @playwright/test to version 1.47.2 (#14912)
Playwright version detection in `scripts/remote_playwright.sh` was also fixed.
1 parent 11f7b1b commit ca80dd6

File tree

3 files changed

+30
-20
lines changed

3 files changed

+30
-20
lines changed

scripts/remote_playwright.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ main() {
1717
# between the server and client, and the protocol changes between versions.
1818
echo "Checking Playwright version from \"${workspace}\"..."
1919
# shellcheck disable=SC2029 # This is intended to expand client-side.
20-
playwright_version="$(ssh "coder.${workspace}" "cat '${coder_repo}'/site/pnpm-lock.yaml | grep '^ /@playwright/test@' | cut -d '@' -f 3 | tr -d ':'")"
20+
playwright_version=$(
21+
ssh "coder.${workspace}" \
22+
"cat '${coder_repo}'/site/pnpm-lock.yaml | grep \"^ '@playwright/test@\"" |
23+
cut -d '@' -f 3 |
24+
tr -d ":'" |
25+
sort -V |
26+
tail -n 1
27+
)
2128

2229
echo "Found Playwright version ${playwright_version}..."
2330

site/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"@biomejs/biome": "1.8.3",
105105
"@chromatic-com/storybook": "1.6.0",
106106
"@octokit/types": "12.3.0",
107-
"@playwright/test": "1.40.1",
107+
"@playwright/test": "1.47.2",
108108
"@storybook/addon-actions": "8.1.11",
109109
"@storybook/addon-essentials": "8.1.11",
110110
"@storybook/addon-interactions": "8.1.11",
@@ -165,7 +165,11 @@
165165
"vite-plugin-checker": "0.7.2",
166166
"vite-plugin-turbosnap": "1.0.3"
167167
},
168-
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
168+
"browserslist": [
169+
"chrome 110",
170+
"firefox 111",
171+
"safari 16.0"
172+
],
169173
"resolutions": {
170174
"optionator": "0.9.3",
171175
"semver": "7.6.2"

site/pnpm-lock.yaml

Lines changed: 16 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy