Skip to content

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
CorentinTh:mainfrom
bruno-b-martins:fix/playwright-ubuntu-noble
Open

fix(ci): bump Playwright to 1.62.1 to support Ubuntu 24.04 runners#1841
bruno-b-martins wants to merge 1 commit into
CorentinTh:mainfrom
bruno-b-martins:fix/playwright-ubuntu-noble

Conversation

@bruno-b-martins

@bruno-b-martins bruno-b-martins commented Aug 8, 2026

Copy link
Copy Markdown

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-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.

Generated with Claude 🤖

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>
@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant