hcoona / OneDotNet

The DotNet mono repository for me
GNU General Public License v3.0
2 stars 1 forks source link

chore(deps): update dependency microsoft.playwright to v1.45.1 #173

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Microsoft.Playwright 1.44.0 -> 1.45.1 age adoption passing confidence

Release Notes

microsoft/playwright-dotnet (Microsoft.Playwright) ### [`v1.45.1`](https://togithub.com/microsoft/playwright-dotnet/releases/tag/v1.45.1) ##### Highlights [https://github.com/microsoft/playwright-java/issues/1617](https://togithub.com/microsoft/playwright-java/issues/1617) - \[Bug]: Trace Viewer not reporting all actions[https://github.com/microsoft/playwright/issues/31764](https://togithub.com/microsoft/playwright/issues/31764)4 - \[Bug]: some actions do not appear in the trace file #### Browser Versions - Chromium 127.0.6533.5 - Mozilla Firefox 127.0 - WebKit 17.4 This version was also tested against the following stable channels: - Google Chrome 126 - Microsoft Edge 126 ### [`v1.45.0`](https://togithub.com/microsoft/playwright-dotnet/releases/tag/v1.45.0) #### Clock Utilizing the new [Clock](https://playwright.dev/dotnet/docs/api/class-clock) API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including: - testing with predefined time; - keeping consistent time and timers; - monitoring inactivity; - ticking through time manually. ```csharp // Initialize clock with some time before the test time and let the page load naturally. // `Date.now` will progress as the timers fire. await Page.Clock.InstallAsync(new() { TimeDate = new DateTime(2024, 2, 2, 8, 0, 0) }); await Page.GotoAsync("http://localhost:3333"); // Pretend that the user closed the laptop lid and opened it again at 10am. // Pause the time once reached that point. await Page.Clock.PauseAtAsync(new DateTime(2024, 2, 2, 10, 0, 0)); // Assert the page state. await Expect(Page.GetByTestId("current-time")).ToHaveTextAsync("2/2/2024, 10:00:00 AM"); // Close the laptop lid again and open it at 10:30am. await Page.Clock.FastForwardAsync("30:00"); await Expect(Page.GetByTestId("current-time")).ToHaveTextAsync("2/2/2024, 10:30:00 AM"); ``` See [the clock guide](https://playwright.dev/dotnet/docs/clock) for more details. #### Miscellaneous - Method [locator.setInputFiles()](https://playwright.dev/dotnet/docs/api/class-locator#locator-set-input-files) now supports uploading a directory for `` elements. ```csharp await page.GetByLabel("Upload directory").SetInputFilesAsync("mydir"); ``` - Multiple methods like [locator.click()](https://playwright.dev/dotnet/docs/api/class-locator#locator-click) or [locator.press()](https://playwright.dev/dotnet/docs/api/class-locator#locator-press) now support a `ControlOrMeta` modifier key. This key maps to `Meta` on macOS and maps to `Control` on Windows and Linux. ```csharp // Press the common keyboard shortcut Control+S or Meta+S to trigger a "Save" operation. await page.Keyboard.PressAsync("ControlOrMeta+S"); ``` - New property `httpCredentials.send` in [apiRequest.newContext()](https://playwright.dev/dotnet/docs/api/class-apirequest#api-request-new-context) that allows to either always send the `Authorization` header or only send it in response to `401 Unauthorized`. - Playwright now supports Chromium, Firefox and WebKit on Ubuntu 24.04. - v1.45 is the last release to receive WebKit update for macOS 12 Monterey. Please update macOS to keep using the latest WebKit. #### Browser Versions - Chromium 127.0.6533.5 - Mozilla Firefox 127.0 - WebKit 17.4 This version was also tested against the following stable channels: - Google Chrome 126 - Microsoft Edge 126

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Hong_Kong, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.



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

semanticdiff-com[bot] commented 1 month ago

Review changes with SemanticDiff.

Analyzed 1 of 2 files.

Overall, the semantic diff is 68% smaller than the GitHub diff.

Filename Status
:grey_question: Directory.Packages.props Unsupported file format
:heavy_check_mark: srcs/private/QiDianBookDownloader/packages.lock.json 67.88% smaller