Skip to content

build(deps-dev): bump @playwright/test from 1.56.1 to 1.62.1 - #849

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

build(deps-dev): bump @playwright/test from 1.56.1 to 1.62.1#849
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright/test-1.62.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @playwright/test from 1.56.1 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

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report 40m 10s Passed tests 9769   Skipped tests 19   Unknown tests 24 9845 0 33
My Dashboard 40m 10s Passed tests 9769   Skipped tests 19   Unknown tests 24 9845 0 33

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Allure perf metrics

Generated at: 2026-08-10T18:35:53.162Z

Phase Count Total Avg Min Max
restoreState.total 1 2577.7 ms 2577.7 ms 2577.7 ms 2577.7 ms
restoreState.dump 3 2577.2 ms 859.1 ms 740.4 ms 920.7 ms
restoreState.attachments 3 2025.0 ms 675.0 ms 576.8 ms 731.3 ms
restoreState.storeRestore 3 165.8 ms 55.3 ms 48.5 ms 60.4 ms
generate.total 1 4814.5 ms 4814.5 ms 4814.5 ms 4814.5 ms
generate.plugins.done 1 4805.0 ms 4805.0 ms 4805.0 ms 4805.0 ms
summary.generate 1 24.7 ms 24.7 ms 24.7 ms 24.7 ms
generate.plugin.done.agent 1 0.2 ms 0.2 ms 0.2 ms 0.2 ms
generate.plugin.done.awesome 1 4498.4 ms 4498.4 ms 4498.4 ms 4498.4 ms
generate.plugin.done.dashboard 1 302.3 ms 302.3 ms 302.3 ms 302.3 ms
generate.plugin.done.log 1 3.5 ms 3.5 ms 3.5 ms 3.5 ms
generate.plugin.done.testops 1 0.2 ms 0.2 ms 0.2 ms 0.2 ms

Artifacts: allure-perf-metrics

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright/test-1.62.1 branch from 7fb7e91 to a95657e Compare August 10, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants