Skip to content

Bump @playwright/test from 1.57.0 to 1.62.1 - #2859

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright/test-1.58.2
Closed

Bump @playwright/test from 1.57.0 to 1.62.1#2859
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright/test-1.58.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 5, 2026

Copy link
Copy Markdown
Contributor

Bumps @playwright/test from 1.57.0 to 1.62.1.

Release notes

Sourced from @​playwright/test's releases.

v1.62.1

Bug Fixes

  • #41989 [Regression]: tsconfig "extends" bare specifier isn't resolved via node_modules walk-up like tsc (fatal since 1.62)
  • #41998 [Regression]: directory-form tsconfig project references ("path": "../pkg") fail to resolve (fatal since 1.62)
  • #41985 Accessibility snapshot drops button name when text is nested inside spans with aria-hidden SVG
  • #42000 [Regression]: page.evaluate() arg of a branded primitive type (string & { brand }) no longer type-checks since 1.62
  • #42013 [BUG]Image-type actionable elements are not presented in the snapshot.

v1.62.0

🧱 New component testing model

Component testing moves to a stories and galleries model. A story wraps your component in one specific scenario — hard-coded props, mock data, providers — and a gallery page that you serve renders stories on demand. The new fixtures.mount() fixture navigates to the gallery, mounts a story by id, and returns a Locator scoped to the story's root element:

test('click should expand', async ({ mount }) => {
  const component = await mount('components/Expandable/Stateful');
  await component.getByRole('button').click();
  await expect(component.getByTestId('expanded')).toHaveValue('true');
});

Pass a story type as a template argument to type-check its props, and use update(props) / unmount() on the returned locator to re-render or tear down within a test.

🛑 Cancel operations with AbortSignal

Most operations and web-first assertions now accept a signal option that takes an AbortSignal, letting you cancel long-running actions, navigations, waits, and assertions:

const controller = new AbortController();
setTimeout(() => controller.abort(), 1000);
await page.getByRole('button', { name: 'Submit' }).click({ signal: controller.signal });
await expect(page.getByText('Done')).toBeVisible({ signal: controller.signal });

Providing a signal does not disable the default timeout; pass timeout: 0 to disable it.

🖼️ WebP screenshots

expect(page).toHaveScreenshot() and expect(locator).toHaveScreenshot() can now store snapshots in the WebP format — just give the snapshot a .webp name:

// Visual comparisons store the golden snapshot as lossless WebP.
await expect(page).toHaveScreenshot('homepage.webp');
// Standalone screenshots can trade quality for size with lossy WebP.
await page.screenshot({ path: 'homepage.webp', quality: 50 });
</tr></table>

... (truncated)

Commits
  • 26a9e47 cherry-pick(#42043): docs: release notes for v1.62 Python, Java, and .NET (#4...
  • 0a81d5d cherry-pick(#42040): docs(release-notes): mention the isolated headless clipb...
  • 8376826 cherry-pick(#42034): fix(aria): keep icon-only clickable elements in ai snaps...
  • 66c5cc9 chore: mark v1.62.1 (#42020)
  • 9672bc3 cherry-pick(#42009): fix(types): support branded primitives in evaluate argum...
  • 4325804 cherry-pick(#41988): fix(aria): preserve names from collapsed text contributors
  • 9632f8e cherry-pick(#42005): fix(tsconfig): do not throw when "extends"/"references" ...
  • e3950d9 chore: mark v1.62.0 (#41981)
  • f07e0f7 cherry-pick(#41940): docs: release notes for v1.62 (#41967)
  • 05a306c cherry-pick(#41964): Revert "feat(routeFromHar): add interceptAPIRequests opt...
  • Additional commits viewable in compare view


Note

Low Risk
Dev-only test dependency bump with no production runtime impact; run npm run test:playwright in packages/gui to confirm CI passes.

Overview
Bumps @playwright/test in packages/gui from 1.57.0 to 1.62.1, with matching package-lock.json updates so the test runner and its bundled playwright / playwright-core at 1.62.1 resolve under @playwright/test.

The lockfile also reclassifies the top-level playwright and playwright-core 1.57.0 entries from devOptional to optional, while optionalDependencies.playwright in package.json is unchanged at 1.57.0—so E2E tests use 1.62.1 via the devDependency tree, not the optional browser package pin.

Reviewed by Cursor Bugbot for commit 0e70769. Bugbot is set up for automated code reviews on this repo. Configure here.

@dependabot dependabot Bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner March 5, 2026 20:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code Changed Required label for PR that categorizes merge commit message as "Changed" for changelog labels Mar 5, 2026
@socket-security

socket-security Bot commented Mar 5, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​playwright/​test@​1.57.0 ⏵ 1.62.110010010099100

View full report

@socket-security

socket-security Bot commented Mar 5, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 3 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread package-lock.json
"integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==",
"license": "Unlicense"
},
"node_modules/rollup": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rollup package entry deleted from lockfile

High Severity

The node_modules/rollup entry and all @rollup/rollup-* platform-specific binary entries were completely removed from package-lock.json. However, rollup is still listed as a dev dependency in multiple workspace packages (packages/api, packages/api-react, packages/core, packages/icons, packages/wallets) at version 4.53.3, and the root package.json overrides it to 4.59.0. Running npm ci with this lockfile will fail to install rollup, breaking all package builds that depend on it.

Fix in Cursor Fix in Web

Comment thread package-lock.json Outdated
"@loadable/babel-plugin": "5.16.1",
"@loadable/webpack-plugin": "5.15.2",
"@playwright/test": "1.57.0",
"@playwright/test": "^1.58.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version specifier mismatch between package.json and lockfile

Medium Severity

The lockfile's packages section records "@playwright/test": "^1.58.2" (with caret) but packages/gui/package.json specifies "@playwright/test": "1.58.2" (exact version, no caret). The lockfile entry is expected to mirror the package.json specifier exactly. This mismatch means the lockfile is inconsistent and could resolve to a different version than intended on a fresh install.

Additional Locations (1)

Fix in Cursor Fix in Web

Comment thread packages/gui/package.json Outdated
"@loadable/babel-plugin": "5.16.1",
"@loadable/webpack-plugin": "5.15.2",
"@playwright/test": "1.57.0",
"@playwright/test": "1.58.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Playwright optional dependency not bumped alongside test package

Medium Severity

@playwright/test was bumped to 1.58.2 in devDependencies, but playwright remains at 1.57.0 in optionalDependencies (line 165). This creates two different versions of playwright in the dependency tree — 1.58.2 nested under @playwright/test and 1.57.0 at the root level. This version skew could cause browser binary mismatches or unexpected behavior when running tests.

Fix in Cursor Fix in Web

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright/test-1.58.2 branch from b608d7f to ee5e806 Compare March 8, 2026 00:32
@github-actions

Copy link
Copy Markdown
Contributor

'This PR has been flagged as stale due to no activity for over 60
days. It will not be automatically closed, but it has been given
a stale-pr label and should be manually reviewed.'

@emlowe

emlowe commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.57.0 to 1.62.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.57.0...v1.62.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-version: 1.58.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump @playwright/test from 1.57.0 to 1.58.2 Bump @playwright/test from 1.57.0 to 1.62.1 Aug 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright/test-1.58.2 branch from ee5e806 to 0e70769 Compare August 19, 2026 15:38
@emlowe emlowe closed this Aug 19, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/playwright/test-1.58.2 branch August 19, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code stale-pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant