fix(ci): bump Playwright to 1.62.1 to support Ubuntu 24.04 runners - #1841
Open
bruno-b-martins wants to merge 1 commit into
Open
fix(ci): bump Playwright to 1.62.1 to support Ubuntu 24.04 runners#1841bruno-b-martins wants to merge 1 commit into
bruno-b-martins wants to merge 1 commit into
Conversation
The e2e-tests workflow runs on ubuntu-latest, which GitHub recently moved
to Ubuntu 24.04 ("noble"). The pinned @playwright/test 1.32.3 (mid-2023)
ships an apt dependency list that predates noble's package renames:
libasound2 became a virtual/transitional package and libffi7/libx264-163
were removed outright, so `playwright install --with-deps` fails with
"Package 'libasound2' has no installation candidate" before any browser
is even downloaded.
Bumped to the latest 1.x release, which ships an apt dependency list that
matches current Ubuntu releases. The lockfile is hand-edited to touch only
@playwright/test's own dependency subtree (it now depends on the `playwright`
package, which didn't exist as a separate entry before) - a plain `pnpm
install`/`pnpm add` here also drags a transitive dependency (@unhead/vue's
undeclared "@vueuse/shared": "latest") to a version incompatible with this
project's pinned Vue 3.3, breaking the build. That's a pre-existing, unrelated
fragility in the lockfile and out of scope for this fix.
Verified locally: `playwright install --with-deps` completes cleanly on
Ubuntu 24.04+, and the full e2e suite (183 tests, chromium/firefox/webkit)
passes against the new version.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The e2e-tests workflow runs on ubuntu-latest, which GitHub moved to Ubuntu 24.04 ("noble"). The pinned @playwright/test 1.32.3 (mid-2023) ships an apt dependency list that predates noble's package renames: libasound2 became a virtual/transitional package and libffi7/libx264-163 were removed outright, so
playwright install --with-depsfails with "Package 'libasound2' has no installation candidate" before any browser is even downloaded.Bumped to the latest 1.x release, which ships an apt dependency list that matches current Ubuntu releases. The lockfile is hand-edited to touch only @playwright/test's own dependency subtree (it now depends on the
playwrightpackage, which didn't exist as a separate entry before) - a plainpnpm install/pnpm addhere also drags a transitive dependency (@unhead/vue's undeclared "@vueuse/shared": "latest") to a version incompatible with this project's pinned Vue 3.3, breaking the build. That's a pre-existing, unrelated fragility in the lockfile and out of scope for this fix.Verified locally:
playwright install --with-depscompletes cleanly on Ubuntu 24.04+, and the full e2e suite (183 tests, chromium/firefox/webkit) passes against the new version.Generated with Claude 🤖