Skip to content

build: update dependency playwright to v1.17.1

Common Ground Bot requested to merge renovate/playwright-monorepo into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
playwright (source) 1.16.3 -> 1.17.1 age adoption passing confidence

Release Notes

Microsoft/playwright

v1.17.1

Compare Source

Highlights

This patch includes bug fixes for the following issues:

https://github.com/microsoft/playwright/issues/10638 - [BUG] Locator.click -> subtree intercepts pointer events since version 1.17.0 https://github.com/microsoft/playwright/issues/10632 - [BUG] Playwright 1.17.0 -> After clicking the element - I get an error that click action was failed https://github.com/microsoft/playwright/issues/10627 - [REGRESSION]: Can no longer click Material UI select box https://github.com/microsoft/playwright/issues/10620 - [BUG] trailing zero width whitespace fails toHaveText

Browser Versions

  • Chromium 98.0.4695.0
  • Mozilla Firefox 94.0.1
  • WebKit 15.4

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 96
  • Microsoft Edge 96

(1.17.1)

v1.17.0

Compare Source

Playwright v1.17

Frame Locators

Playwright 1.17 introduces frame locators - a locator to the iframe on the page. Frame locators capture the logic sufficient to retrieve the iframe and then locate elements in that iframe. Frame locators are strict by default, will wait for iframe to appear and can be used in Web-First assertions.

Graphics

Frame locators can be created with either [page.frameLocator(selector)][page.frameLocator(selector)] or [locator.frameLocator(selector)][locator.frameLocator(selector)] method.

const locator = page.frameLocator('#my-iframe').locator('text=Submit');
await locator.click();

Read more at our documentation.

Trace Viewer Update

Playwright Trace Viewer is now available online at https://trace.playwright.dev! Just drag-and-drop your trace.zip file to inspect its contents.

NOTE: trace files are not uploaded anywhere; trace.playwright.dev is a progressive web application that processes traces locally.

  • Playwright Test traces now include sources by default (these could be turned off with tracing option)
  • Trace Viewer now shows test name
  • New trace metadata tab with browser details
  • Snapshots now have URL bar

image

HTML Report Update

  • HTML report now supports dynamic filtering
  • Report is now a single static HTML file that could be sent by e-mail or as a slack attachment.

image

Ubuntu ARM64 support + more

  • Playwright now supports Ubuntu 20.04 ARM64. You can now run Playwright tests inside Docker on Apple M1 and on Raspberry Pi.
  • You can now use Playwright to install stable version of Edge on Linux:
    npx playwright install msedge

New APIs

Browser Versions

  • Chromium 98.0.4695.0
  • Mozilla Firefox 94.0.1
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 96
  • Microsoft Edge 96


Configuration

📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Common Ground Bot

Merge request reports