From 93548e7f771f08bd4e5ab243b316aac2648b135d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 18 Aug 2026 12:48:57 -0700
Subject: [PATCH] build(deps-dev): bump @playwright/test from 1.61.1 to 1.62.1
(#10734)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [@playwright/test](https://github.com/microsoft/playwright) from
1.61.1 to 1.62.1.
Sourced from @playwright/test's
releases. 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: Pass a story type as a template argument to type-check its props, and
use Most operations and web-first assertions now accept a
await page.getByRole('button', { name: 'Submit' }).click({ signal:
controller.signal });
await expect(page.getByText('Done')).toBeVisible({ signal:
controller.signal });
Release notes
v1.62.1
Bug Fixes
v1.62.0
🧱 New component testing model
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');
});
update(props) / unmount() on the returned
locator to re-render or tear down within a test.🛑 Cancel operations with AbortSignal
signal option that takes an AbortSignal,
letting you cancel long-running actions, navigations, waits, and
assertions:const controller = new AbortController();
setTimeout(() => controller.abort(), 1000);
Providing a signal does not disable the default timeout; pass
timeout: 0 to disable it.
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)
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 contributors9632f8e
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...