Skip to content

fix(deps): update dependency @playwright/test to v1.62.1 - #4300

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rhdh-repo-tools-dependencies-(minor)
Open

fix(deps): update dependency @playwright/test to v1.62.1#4300
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rhdh-repo-tools-dependencies-(minor)

Conversation

@renovate

@renovate renovate Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@playwright/test (source) 1.60.01.62.1 age confidence

Release Notes

microsoft/playwright (@​playwright/test)

v1.62.1

Compare Source

v1.62.0

Compare Source

🧱 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 });

page.screenshot() and locator.screenshot() also accept webp as a type,
where quality 100 (the default) is lossless and lower values use lossy compression.

🧩 Custom test filtering with Reporter.preprocess()

New reporter.preprocess() hook runs after the configuration is resolved and before
reporter.onBegin(), letting a reporter mark individual tests as skipped, excluded,
fixed, or failing through a TestRun object:

class MyReporter {
  async preprocess({ config, suite, testRun }) {
    for (const test of suite.allTests()) {
      if (shouldSkip(test))
        testRun.skip(test);
    }
  }
}
🔁 Isolated retries

New testConfig.retryStrategy controls when failed tests are retried. The default
'immediate' retries as soon as a worker is free; 'isolated' runs all retries at the end,
one by one in a single worker, to minimize interference with the rest of the suite:

// playwright.config.ts
export default defineConfig({
  retries: 2,
  retryStrategy: 'isolated',
});
New APIs
Browser and Context
  • New option credentials includes the context's virtual WebAuthn Credentials (passkeys) in the storage state, so they can be persisted and re-seeded into later contexts.
Actions
  • New scroll option ("auto" | "none") on actions to opt out of Playwright's automatic scroll-into-view.
Network
Evaluation
Command line & MCP
Reporters
  • The HTML report's Merge files grouping — previously only a UI toggle — can now be enabled from the config with the new mergeFiles reporter option:
// playwright.config.ts
export default defineConfig({
  reporter: [['html', { mergeFiles: true }]],
});
Announcements
  • ⚠️ Debian 11 is not supported anymore.
Browser Versions
  • Chromium 151.0.7922.34
  • Mozilla Firefox 153.0
  • WebKit 26.5

This version was also tested against the following stable channels:

  • Google Chrome 151
  • Microsoft Edge 151

v1.61.1

Compare Source

v1.61.0

Compare Source

🔑 WebAuthn passkeys

New Credentials virtual authenticator, available via browserContext.credentials, lets tests register passkeys and answer navigator.credentials.create() / navigator.credentials.get() ceremonies in the page — no real hardware key required, works in all browsers:

const context = await browser.newContext();

// Seed a passkey your backend provisioned for a test user.
await context.credentials.create('example.com', {
  id: credentialId,
  userHandle,
  privateKey,
  publicKey,
});
await context.credentials.install();

const page = await context.newPage();
await page.goto('https://example.com/login');
// The page's navigator.credentials.get() is answered with the seeded passkey.

You can also let the app register a passkey once in a setup test, read it back with credentials.get(), and seed it into later tests — see Credentials for details.

🗃️ Web Storage

New WebStorage API, available via page.localStorage and page.sessionStorage, reads and writes the page's storage for the current origin:

await page.localStorage.setItem('token', 'abc');
const token = await page.localStorage.getItem('token');
const items = await page.sessionStorage.items();
New APIs
Network
Browser and Screencast
  • New option artifactsDir in browserType.connectOverCDP() controls where artifacts such as traces and downloads are stored when attached to an existing browser.
  • New option cursor in screencast.showActions() controls the cursor decoration rendered for pointer actions.
  • The onFrame callback in screencast.start() now receives a timestamp of when the frame was presented by the browser.
Test runner
  • The testOptions.video option now supports the same set of modes as trace: new 'on-all-retries', 'retain-on-first-failure' and 'retain-on-failure-and-retries' values. See the video modes table for which runs are recorded and kept in each mode.
  • Supported expect.soft.poll(...).
  • New fullConfig.argv — a snapshot of process.argv from the runner process, handy for reading custom arguments passed after the -- separator.
  • New fullConfig.failOnFlakyTests mirrors the config option, so reporters can explain why a flaky run failed.
  • testInfo.errors now lists each sub-error of an AggregateError as a separate entry.
  • New -G command line shorthand for --grep-invert.
🛠️ Other improvements
  • Playwright now supports Ubuntu 26.04.
  • HAR and trace recordings now include WebSocket requests.
Browser Versions
  • Chromium 149.0.7827.55
  • Mozilla Firefox 151.0
  • WebKit 26.5

This version was also tested against the following stable channels:

  • Google Chrome 149
  • Microsoft Edge 149

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file repo-tools labels Aug 13, 2026
@renovate
renovate Bot requested a review from a team as a code owner August 13, 2026 17:10
@renovate renovate Bot added the team/rhdh label Aug 13, 2026
@renovate
renovate Bot requested review from a team as code owners August 13, 2026 17:10
@renovate renovate Bot added dependencies Pull requests that update a dependency file team/rhdh repo-tools labels Aug 13, 2026
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.36%. Comparing base (887e675) to head (a80c54e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4300   +/-   ##
=======================================
  Coverage   61.36%   61.36%           
=======================================
  Files        2520     2520           
  Lines      100978   100978           
  Branches    28295    28295           
=======================================
  Hits        61965    61965           
  Misses      38462    38462           
  Partials      551      551           
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from 887e675
ai-integrations 73.13% <ø> (ø) Carriedforward from 887e675
app-defaults 69.79% <ø> (ø) Carriedforward from 887e675
augment 46.67% <ø> (ø) Carriedforward from 887e675
boost 78.28% <ø> (ø) Carriedforward from 887e675
bulk-import 72.79% <ø> (ø) Carriedforward from 887e675
cost-management 13.55% <ø> (ø) Carriedforward from 887e675
dcm 67.21% <ø> (ø) Carriedforward from 887e675
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 887e675
e2e-extensions 62.13% <ø> (ø) Carriedforward from 887e675
e2e-global-header 49.45% <ø> (ø) Carriedforward from 887e675
e2e-homepage 43.49% <ø> (ø) Carriedforward from 887e675
e2e-intelligent-assistant 46.68% <ø> (ø) Carriedforward from 887e675
e2e-orchestrator 50.42% <ø> (ø) Carriedforward from 887e675
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 887e675
e2e-scorecard 50.21% <ø> (ø) Carriedforward from 887e675
e2e-theme 16.36% <ø> (ø) Carriedforward from 887e675
extensions 56.59% <ø> (ø) Carriedforward from 887e675
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 887e675
global-header 66.50% <ø> (ø) Carriedforward from 887e675
homepage 47.59% <ø> (ø) Carriedforward from 887e675
install-dynamic-plugins 59.95% <ø> (ø) Carriedforward from 887e675
intelligent-assistant 75.42% <ø> (ø) Carriedforward from 887e675
konflux 91.98% <ø> (ø) Carriedforward from 887e675
lightspeed 69.02% <ø> (ø) Carriedforward from 887e675
mcp-integrations 83.40% <ø> (ø) Carriedforward from 887e675
orchestrator 70.87% <ø> (ø) Carriedforward from 887e675
quickstart 63.74% <ø> (ø) Carriedforward from 887e675
sandbox 79.56% <ø> (ø) Carriedforward from 887e675
scorecard 87.36% <ø> (ø) Carriedforward from 887e675
theme 88.91% <ø> (ø) Carriedforward from 887e675
translations 5.12% <ø> (ø) Carriedforward from 887e675
x2a 79.20% <ø> (ø) Carriedforward from 887e675

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 887e675...a80c54e. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/rhdh-repo-tools-dependencies-(minor) branch from 4b1a8a4 to 628a196 Compare August 13, 2026 17:22
@renovate renovate Bot changed the title Update dependency @playwright/test to v1.62.1 fix(deps): update dependency @playwright/test to v1.62.1 Aug 13, 2026
@renovate
renovate Bot force-pushed the renovate/rhdh-repo-tools-dependencies-(minor) branch 12 times, most recently from 76d3689 to 8395d83 Compare August 16, 2026 07:48
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/rhdh-repo-tools-dependencies-(minor) branch from 8395d83 to a80c54e Compare August 16, 2026 22:02
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

dependencies Pull requests that update a dependency file repo-tools team/rhdh workspace/repo-tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants