Skip to content

Bump Microsoft.Playwright from 1.42.0 to 1.44.0#4244

Merged
danmoseley merged 1 commit intomainfrom
dependabot/nuget/Microsoft.Playwright-1.44.0
May 21, 2024
Merged

Bump Microsoft.Playwright from 1.42.0 to 1.44.0#4244
danmoseley merged 1 commit intomainfrom
dependabot/nuget/Microsoft.Playwright-1.44.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2024

Bumps Microsoft.Playwright from 1.42.0 to 1.44.0.

Release notes

Sourced from Microsoft.Playwright's releases.

v1.44.0

New APIs

Accessibility assertions

  • Expect(locator).ToHaveAccessibleNameAsync() checks if the element has the specified accessible name:

    var locator = Page.GetByRole(AriaRole.Button);
    await Expect(locator).ToHaveAccessibleNameAsync("Submit");
  • Expect(locator).ToHaveAccessibleDescriptionAsync() checks if the element has the specified accessible description:

    var locator = Page.GetByRole(AriaRole.Button);
    await Expect(locator).ToHaveAccessibleDescriptionAsync("Upload a photo");
  • Expect(locator).ToHaveRoleAsync() checks if the element has the specified ARIA role:

    var locator = Page.GetByTestId("save-button");
    await Expect(locator).ToHaveRoleAsync(AriaRole.Button);

Locator handler

var locator = Page.GetByText("This interstitial covers the button");
await Page.AddLocatorHandlerAsync(locator, async (overlay) =>
{
    await overlay.Locator("#close").ClickAsync();
}, new() { Times = 3, NoWaitAfter = true });
// Run your tests that can be interrupted by the overlay.
// ...
await Page.RemoveLocatorHandlerAsync(locator);

Miscellaneous options

  • Multipart option in APIRequestContext.FetchAsync() supports now repeating fields with the same name using formData.append():

    var formData = Context.APIRequest.CreateFormData();
    formData.Append("file", new FilePayload()
    {
        Name = "f1.js",

... (truncated)

Commits
  • 929a44c Revert "devops: fix publishing pipeline (#2918)"
  • 374591e chore: mark v1.44.0
  • c5b2745 chore(roll): roll Playwright to 1.44.0-beta-1715802478000
  • c1bf1d0 feat(rolll): roll Playwright to v1.44.0 (#2935)
  • 0dc3195 chore: bump Microsoft.SourceLink.GitHub to v8.0.0 (#2929)
  • 93b7ee7 test: remove ShouldPlayVideo test
  • 5d489a9 chore: remove non-exposed test-retries implementation (#2928)
  • 3edc14f fix(locators): Style attribute in ScreenshotAsync (#2926)
  • 9ef9165 test: allow updating test snapshots via env (#2927)
  • c14ebe5 devops: fix publishing pipeline (#2918)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com//pull/4244)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the area-codeflow for labeling automated codeflow. intentionally a different color! label May 21, 2024
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label May 21, 2024
@danmoseley danmoseley enabled auto-merge (squash) May 21, 2024 15:38
@danmoseley danmoseley merged commit 58a34bf into main May 21, 2024
@danmoseley danmoseley deleted the dependabot/nuget/Microsoft.Playwright-1.44.0 branch May 21, 2024 15:58
radical pushed a commit to radical/aspire that referenced this pull request May 22, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflow for labeling automated codeflow. intentionally a different color! community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant