Repository navigation
Bump @playwright/test from 1.61.1 to 1.62.0 in /tests/e2e in the minor-patch group across 1 directory - #50
Conversation
| "devDependencies": { | ||
| "@axe-core/playwright": "4.12.1", | ||
| "@playwright/test": "1.61.1" | ||
| "@playwright/test": "1.62.0" |
There was a problem hiding this comment.
🔴 End-to-end tests break because the test browser image was not upgraded alongside the test tool
The end-to-end test tool is upgraded to a new version (@playwright/test "1.62.0" at tests/e2e/package.json:6) without upgrading the pinned browser image it runs inside, so the browsers bundled in the container no longer match the tool and the tests fail to launch a browser.
Impact: The end-to-end test tier fails in CI (and in the local container), blocking the build even though nothing in the app changed.
Version pin mismatch between npm package and Playwright Docker image
The e2e suite runs inside the pinned image mcr.microsoft.com/playwright:v1.61.1-noble (.devcontainer/Dockerfile:3, also referenced in tests/README.md:29 and CLAUDE.md:91), which ships browser builds matching Playwright 1.61.1. The Makefile target only runs npm ci then npx playwright test (Makefile:27-28, Makefile:46-47) and never runs npx playwright install, so no 1.62.0 browsers are downloaded. Playwright validates that installed browser revisions match the package version; with @playwright/test at 1.62.0 the expected browser revisions differ from those baked into the 1.61.1 image, causing browserType.launch: Executable doesn't exist failures. Per CLAUDE.md, CI runs make test inside this exact image, so a green run requires the image tag and npm package version to be bumped together (the same class of coupled-bump issue documented for vite/vitest). The Docker image tag in .devcontainer/Dockerfile and the references in tests/README.md/CLAUDE.md must be bumped to v1.62.0-noble in the same change.
Prompt for agents
Bumping @playwright/test to 1.62.0 in tests/e2e/package.json changes the browser revisions Playwright expects at runtime. The e2e tests run inside the pinned Docker image mcr.microsoft.com/playwright:v1.61.1-noble (.devcontainer/Dockerfile line 3), which ships browsers for Playwright 1.61.1, and the Makefile (targets at Makefile lines 27-28 and 46-47) never runs `npx playwright install` — it relies entirely on the image's pre-baked browsers. As a result the e2e tier will fail with 'Executable doesn't exist' because no 1.62.0 browsers are present. Fix by bumping the Docker base image tag in .devcontainer/Dockerfile to v1.62.0-noble in the same PR, and update the stale version references in tests/README.md (line 29) and CLAUDE.md (line 91) to match. Verify with a full container `make test` run.
Was this helpful? React with 👍 or 👎 to provide feedback.
c6623da to
4a96302
Compare
Bumps the minor-patch group with 1 update in the /tests/e2e directory: [@playwright/test](https://github.com/microsoft/playwright). Updates `@playwright/test` from 1.61.1 to 1.62.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.61.1...v1.62.0) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-version: 1.62.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
4a96302 to
1c5f70d
Compare
Bumps the minor-patch group with 1 update in the /tests/e2e directory: @playwright/test.
Updates
@playwright/testfrom 1.61.1 to 1.62.0Release notes
Sourced from @playwright/test's releases.
... (truncated)
Commits
e3950d9chore: mark v1.62.0 (#41981)f07e0f7cherry-pick(#41940): docs: release notes for v1.62 (#41967)05a306ccherry-pick(#41964): Revert "feat(routeFromHar): add interceptAPIRequests opt...2934858fix: correct pending navigation log spacing (#41949)4b0cc99fix(test): unflake screencast backpressure test on slow macOS runner (#41951)bbbae6dtest: fixme WebSocket locale test in Chromium 150 (#41944)15c4f55fix(mcp): identify downloads explicitly (#41933)f5fa967fix(network): request.postData() returns null for empty string body override ...0edafe4fix(mcp): launch the Chrome profile that has the extension installed (#41939)244a1fffeat(firefox): roll to r1538 (#41938)