Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency Microsoft.Playwright to v1.33.0 #1350

Merged
merged 1 commit into from May 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 3, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
Microsoft.Playwright nuget minor 1.32.0 -> 1.33.0

Release Notes

microsoft/playwright-dotnet

v1.33.0

Highlights

Locators Update
  • Use Locator.Or to create a locator that matches either of the two locators.
    Consider a scenario where you'd like to click on a "New email" button, but sometimes a security settings dialog shows up instead.
    In this case, you can wait for either a "New email" button, or a dialog and act accordingly:

    var newEmail = page.GetByRole(AriaRole.Button, new() { Name = "New" });
    var dialog = page.GetByText("Confirm security settings");
    await Expect(newEmail.Or(dialog)).ToBeVisibleAsync();
    if (await dialog.IsVisibleAsync())
      await page.GetByRole(AriaRole.Button, new() { Name = "Dismiss" }).ClickAsync();
    await newEmail.ClickAsync();
  • Use new options HasNot and HasNotText in Locator.Filter
    to find elements that do not match certain conditions.

    var rowLocator = page.Locator("tr");
    await rowLocator
        .Filter(new() { HasNotText = "text in column 1" })
        .Filter(new() { HasNot = page.GetByRole(AriaRole.Button, new() { Name = "column 2 button" }))
        .ScreenshotAsync();
  • Use new web-first assertion Expect().ToBeAttachedAsync() to ensure that the element
    is present in the page's DOM. Do not confuse with the Expect().ToBeVisibleAsync() that ensures that
    element is both attached & visible.

New APIs
⚠️ Breaking change
  • The mcr.microsoft.com/playwright/dotnet:v1.33.0 now serves a Playwright image based on Ubuntu Jammy.
    To use the focal-based image, please use mcr.microsoft.com/playwright/dotnet:v1.33.0-focal instead.
Browser Versions
  • Chromium 113.0.5672.53
  • Mozilla Firefox 112.0
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 112
  • Microsoft Edge 112

Configuration

📅 Schedule: 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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label May 3, 2023
@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Merging #1350 (f414789) into main (b3c7f2d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1350   +/-   ##
=======================================
  Coverage   27.18%   27.18%           
=======================================
  Files         135      135           
  Lines        3381     3381           
  Branches      447      447           
=======================================
  Hits          919      919           
- Misses       2359     2361    +2     
+ Partials      103      101    -2     

see 2 files with indirect coverage changes

@dpvreony dpvreony merged commit 53a951c into main May 3, 2023
8 checks passed
@renovate renovate bot deleted the renovate/all-microsoft branch May 3, 2023 22:08
@sonarcloud
Copy link

sonarcloud bot commented May 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant