diff --git a/.claude/skills/running-vrts/SKILL.md b/.claude/skills/running-vrts/SKILL.md index 16aadf288a..8d29c1a4f6 100644 --- a/.claude/skills/running-vrts/SKILL.md +++ b/.claude/skills/running-vrts/SKILL.md @@ -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://:3001 yarn vrt --update-snapshots -g '' .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://:3001 --update-snapshots`. 4. **Always scope `--update-snapshots`** with `-g`/file args to the new or diff --git a/.github/workflows/api-browser-test.yml b/.github/workflows/api-browser-test.yml index 2f050bb43e..bda66744b3 100644 --- a/.github/workflows/api-browser-test.yml +++ b/.github/workflows/api-browser-test.yml @@ -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: diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 8b87f0964e..fd3b3f9938 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -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: diff --git a/.github/workflows/vrt-update-generate.yml b/.github/workflows/vrt-update-generate.yml index 4ae8335f9a..b9d20489a7 100644 --- a/.github/workflows/vrt-update-generate.yml +++ b/.github/workflows/vrt-update-generate.yml @@ -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: diff --git a/bin/run-vrt b/bin/run-vrt index 03e42806b4..29230d335e 100755 --- a/bin/run-vrt +++ b/bin/run-vrt @@ -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" diff --git a/package.json b/package.json index 5086204989..ee814d4bf6 100644 --- a/package.json +++ b/package.json @@ -126,5 +126,5 @@ "node": ">=22.18.0", "yarn": "^4.9.1" }, - "packageManager": "yarn@4.13.0" + "packageManager": "yarn@4.17.1" } diff --git a/packages/api/package.json b/packages/api/package.json index 45043bd7e4..92849f777c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -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", diff --git a/packages/desktop-client/README.md b/packages/desktop-client/README.md index ac7abfd9be..63fced5380 100644 --- a/packages/desktop-client/README.md +++ b/packages/desktop-client/README.md @@ -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 diff --git a/packages/desktop-client/package.json b/packages/desktop-client/package.json index b7d8d89d54..126284d2eb 100644 --- a/packages/desktop-client/package.json +++ b/packages/desktop-client/package.json @@ -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", diff --git a/packages/desktop-electron/package.json b/packages/desktop-electron/package.json index d228834d39..6e22b1b42f 100644 --- a/packages/desktop-electron/package.json +++ b/packages/desktop-electron/package.json @@ -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", diff --git a/upcoming-release-notes/deps-playwright.md b/upcoming-release-notes/deps-playwright.md new file mode 100644 index 0000000000..f867bff53d --- /dev/null +++ b/upcoming-release-notes/deps-playwright.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [matt-fidd] +--- + +Bump playwright diff --git a/yarn.lock b/yarn.lock index 3210555ef0..4f342f5585 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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