⬆️ bump playwright (#8534)

* @playwright/test (1.59.1 → 1.61.1)

* playwright docker updates

* note
This commit is contained in:
Matt Fiddaman
2026-07-21 18:03:26 +00:00
committed by GitHub
parent 7463525f9d
commit 87a1d48a3e
12 changed files with 39 additions and 33 deletions
+3 -3
View File
@@ -75,13 +75,13 @@ Run all yarn commands from the repo root.
```sh
docker run --rm --network host -v "$(pwd)":/work/ -w /work/ \
mcr.microsoft.com/playwright:v1.59.1-jammy /bin/bash -c \
mcr.microsoft.com/playwright:v1.61.1-jammy /bin/bash -c \
"E2E_START_URL=https://<HOST>:3001 yarn vrt --update-snapshots -g '<test name>' <file>.test.ts"
```
Pin the image tag to the repo's Playwright version (`@playwright/test` in
`packages/desktop-client/package.json` — currently 1.59.1 →
`v1.59.1-jammy`). The equivalent user-facing wrapper is
`packages/desktop-client/package.json` — currently 1.61.1 →
`v1.61.1-jammy`). The equivalent user-facing wrapper is
`yarn vrt:docker --e2e-start-url https://<HOST>:3001 --update-snapshots`.
4. **Always scope `--update-snapshots`** with `-g`/file args to the new or
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
name: API browser e2e
runs-on: depot-ubuntu-latest-4
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
+3 -3
View File
@@ -65,7 +65,7 @@ jobs:
matrix:
shard: [1, 2, 3]
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
env:
E2E_USE_BUILD: '1'
steps:
@@ -128,7 +128,7 @@ jobs:
contents: read
id-token: write # Authenticate to Depot via GitHub OIDC for test reporting
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -170,7 +170,7 @@ jobs:
matrix:
shard: [1, 2, 3]
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
env:
E2E_USE_BUILD: '1'
steps:
+2 -2
View File
@@ -104,7 +104,7 @@ jobs:
matrix:
shard: [1, 2, 3]
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
env:
E2E_USE_BUILD: '1'
steps:
@@ -170,7 +170,7 @@ jobs:
runs-on: depot-ubuntu-latest
needs: get-pr
container:
image: mcr.microsoft.com/playwright:v1.59.1-jammy
image: mcr.microsoft.com/playwright:v1.61.1-jammy
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
+1 -1
View File
@@ -28,5 +28,5 @@ echo "Running VRT tests with the following parameters:"
echo "E2E_START_URL: $E2E_START_URL"
echo "VRT_ARGS: $VRT_ARGS"
MSYS_NO_PATHCONV=1 docker run --rm --network host -v "$(pwd)":/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.59.1-jammy /bin/bash \
MSYS_NO_PATHCONV=1 docker run --rm --network host -v "$(pwd)":/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.61.1-jammy /bin/bash \
-c "E2E_START_URL=$E2E_START_URL yarn vrt $VRT_ARGS"
+1 -1
View File
@@ -126,5 +126,5 @@
"node": ">=22.18.0",
"yarn": "^4.9.1"
},
"packageManager": "yarn@4.13.0"
"packageManager": "yarn@4.17.1"
}
+1 -1
View File
@@ -63,7 +63,7 @@
},
"devDependencies": {
"@actual-app/vite-plugin-peggy": "workspace:*",
"@playwright/test": "1.59.1",
"@playwright/test": "1.61.1",
"@typescript/native-preview": "beta",
"rollup-plugin-visualizer": "^7.0.1",
"typescript-strict-plugin": "^2.4.4",
+2 -2
View File
@@ -65,10 +65,10 @@ Run manually:
```sh
# Run docker container
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.59.1-jammy /bin/bash
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.61.1-jammy /bin/bash
# If you receive an error such as "docker: invalid reference format", please instead use the following command:
docker run --rm --network host -v ${pwd}:/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.59.1-jammy /bin/bash
docker run --rm --network host -v ${pwd}:/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.61.1-jammy /bin/bash
# Once inside the docker container, run the VRT tests: important - they MUST be ran against a HTTPS server.
# Use the ip and port noted earlier
+1 -1
View File
@@ -141,7 +141,7 @@
"@fontsource/redacted-script": "^5.2.8",
"@internationalized/date": "^3.12.2",
"@lezer/highlight": "^1.2.3",
"@playwright/test": "1.59.1",
"@playwright/test": "1.61.1",
"@react-aria/interactions": "^3.28.1",
"@reduxjs/toolkit": "^2.12.0",
"@rolldown/plugin-babel": "~0.2.3",
+1 -1
View File
@@ -22,7 +22,7 @@
"@actual-app/core": "workspace:*",
"@actual-app/web": "workspace:*",
"@electron/rebuild": "^4.0.3",
"@playwright/test": "1.59.1",
"@playwright/test": "1.61.1",
"@types/copyfiles": "^2",
"@typescript/native-preview": "beta",
"copyfiles": "^2.4.1",
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [matt-fidd]
---
Bump playwright
+17 -17
View File
@@ -19,7 +19,7 @@ __metadata:
"@actual-app/core": "workspace:*"
"@actual-app/crdt": "workspace:*"
"@actual-app/vite-plugin-peggy": "workspace:*"
"@playwright/test": "npm:1.59.1"
"@playwright/test": "npm:1.61.1"
"@typescript/native-preview": "npm:beta"
better-sqlite3: "npm:^12.10.0"
compare-versions: "npm:^6.1.1"
@@ -235,7 +235,7 @@ __metadata:
"@fontsource/redacted-script": "npm:^5.2.8"
"@internationalized/date": "npm:^3.12.2"
"@lezer/highlight": "npm:^1.2.3"
"@playwright/test": "npm:1.59.1"
"@playwright/test": "npm:1.61.1"
"@react-aria/interactions": "npm:^3.28.1"
"@reduxjs/toolkit": "npm:^2.12.0"
"@rolldown/plugin-babel": "npm:~0.2.3"
@@ -7021,14 +7021,14 @@ __metadata:
languageName: node
linkType: hard
"@playwright/test@npm:1.59.1":
version: 1.59.1
resolution: "@playwright/test@npm:1.59.1"
"@playwright/test@npm:1.61.1":
version: 1.61.1
resolution: "@playwright/test@npm:1.61.1"
dependencies:
playwright: "npm:1.59.1"
playwright: "npm:1.61.1"
bin:
playwright: cli.js
checksum: 10/27a894c4d4216b51cddc96e18fd0638a9e2e0a3f0b7ee32a56121fb61df395ec43529f5dcdca32578af8a34a04722ee3767f99f0ae4d39fa8edceda89a96014c
checksum: 10/08915357031e1bc273a19bb428fb7e51031ca44f25750832e389bcd69c399f6a243f5f832e7832d46153b57b1305f1f5f5dd63f3a3261f928f61e464c6b3c64e
languageName: node
linkType: hard
@@ -14148,7 +14148,7 @@ __metadata:
"@actual-app/sync-server": "workspace:*"
"@actual-app/web": "workspace:*"
"@electron/rebuild": "npm:^4.0.3"
"@playwright/test": "npm:1.59.1"
"@playwright/test": "npm:1.61.1"
"@types/copyfiles": "npm:^2"
"@typescript/native-preview": "npm:beta"
better-sqlite3: "npm:^12.10.0"
@@ -22669,27 +22669,27 @@ __metadata:
languageName: node
linkType: hard
"playwright-core@npm:1.59.1":
version: 1.59.1
resolution: "playwright-core@npm:1.59.1"
"playwright-core@npm:1.61.1":
version: 1.61.1
resolution: "playwright-core@npm:1.61.1"
bin:
playwright-core: cli.js
checksum: 10/d27857a6701587c2a9bfa26fed9a5d8c617a392299b99b187f2ddc198d012a1e296449806bc907220debea938152677e8b4d91d304ed00645f762f778de3abec
checksum: 10/b0e7b1d4de7ca6c1a57eb88f1709609a8b7637092f149e703d84d6c8e01835992ec5ca26b86f1a32fb5f5bc1aad042c3ae27311e131b3dda8a27824a543eb3c7
languageName: node
linkType: hard
"playwright@npm:1.59.1":
version: 1.59.1
resolution: "playwright@npm:1.59.1"
"playwright@npm:1.61.1":
version: 1.61.1
resolution: "playwright@npm:1.61.1"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.59.1"
playwright-core: "npm:1.61.1"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10/17b2df42effa362adc6aa3192b625bd80f26b91a0c253a2375ac89ace68407b746dd87b4081629c50c58c3cb031c5b837a32fef43a3c98c60ea504e0b001e5fa
checksum: 10/0cd1a8a7e106202e785450763973bf326d4aa112ed195bbd78b17af43dcfd12e29bc8204ae61c88f748dd0f2bdf69a7827bc3bbf8c1ec4c71b8e35586e05f13c
languageName: node
linkType: hard