Repository navigation
chore(deps): upgrade @playwright/test to 1.62.1 - #727
Merged
Merged
Conversation
NilsR0711
force-pushed
the
chore/691-upgrade-playwright-test
branch
2 times, most recently
from
September 2, 2026 10:50
2b29504 to
765fa04
Compare
Playwright reverted the hard failure on unresolved tsconfig `extends` paths in 1.62.1 (microsoft/playwright#42005, fixing #41989/#41998): an unresolved bare-specifier `extends` is silently ignored again instead of aborting spec collection, matching 1.61 behavior. The hoisted-package resolution gap itself is still open upstream (no node_modules walk-up), but it no longer breaks the E2E job. Verified locally: `tsc --noEmit` and the full `playwright test` suite (17/17) both pass against the hoisted @tsconfig/* bases. Drops the now-unnecessary @playwright/test ignore entry from dependabot.yml so future updates aren't skipped. Closes #691
The repo-invariant test added alongside the dependabot.yml group split asserted that the @playwright/test ignore entry stays in place. That entry is exactly what #691 removes now that the upstream tsconfig regression is gone, so assert the opposite: the entry must not linger.
NilsR0711
force-pushed
the
chore/691-upgrade-playwright-test
branch
from
September 2, 2026 11:32
765fa04 to
2fef00f
Compare
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.
Problem
@playwright/testwas held at~1.61.1inpackages/streamwall-control-e2e/package.jsonbecause the 1.62.0 bump in #688 broke the E2E job before a single test ran:Playwright 1.62's tsconfig loader resolves a package-style
extendsonly inside the tsconfig's own directory'snode_modules, never walking up parent directories the way Node/tsc do. Since npm hoists@tsconfig/recommended,@tsconfig/node22and@tsconfig/node-tsto the repo root in this single-lockfile workspace, the lookup missed and Playwright 1.62.0 turned that into a hard, fatal error.Research
latest@playwright/testrelease.node_modules/playwright/lib/common/index.js:resolveConfigFilestill does not walk upnode_modules— the underlying hoisting gap is unchanged.extendsis silently ignored again, matching 1.61 behavior. It shipped in@playwright/test1.62.1 (2026-07-30).Solution
@playwright/testto~1.62.1inpackages/streamwall-control-e2e/package.json(no separateplaywrightdependency exists elsewhere in the repo to bump).package-lock.jsonscoped to that workspace so the diff only touches the@playwright/test/playwright/playwright-coreversion triplet.@playwright/testignore entry from.github/dependabot.yml.Testing performed
npm ci(clean install from the regenerated lockfile)npm run format:check,npm run lint,npm run typecheck(all workspaces, includingstreamwall-control-e2e)npm run test— 2058 tests across all 6 suites, all passingpackages/streamwall-control-e2e:npx playwright install chromium && npm run test:e2e— 17/17 passing, no tsconfig resolution errorNo production code changed, so no new tests were added — this is a dependency bump plus a CI-config cleanup, verified by the full existing suite (including the previously-broken E2E job) passing locally.
Risks / breaking changes
None expected. The upstream hoisting gap itself (no
node_moduleswalk-up for package-styleextends) is still open, but it's harmless again: an unresolvedextendsis silently skipped rather than aborting spec collection, exactly as it behaved on 1.61.1.Pre-PR review
Three independent review rounds by fresh subagents with no prior context:
package-lock.jsonhad incidentally dropped"libc"metadata fields on unrelated optional platform packages (@rolldown/binding-linux-*,lightningcss-linux-*), caused by a local npm-version formatting difference when the lockfile was rewritten. Fixed by restoring those fields so the lockfile diff is scoped strictly to the playwright triplet."GitHub Sponsors ❤"strings elsewhere in the lockfile. Fixed by restoring the literal character.NO FINDINGS.No findings were dismissed as invalid; all were valid and fixed.
Closes #691