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

build(deps): update playwright requirement from ~=1.44.0 to ~=1.45.0 #49

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 4, 2024

Updates the requirements on playwright to permit the latest version.

Release notes

Sourced from playwright's releases.

v1.45.0

Clock

Utilizing the new 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.
# Initialize clock with some time before the test time and let the page load
# naturally. `Date.now` will progress as the timers fire.
page.clock.install(time=datetime.datetime(2024, 2, 2, 8, 0, 0))
page.goto("http://localhost:3333")
Pretend that the user closed the laptop lid and opened it again at 10am.
Pause the time once reached that point.
page.clock.pause_at(datetime.datetime(2024, 2, 2, 10, 0, 0))
Assert the page state.
expect(page.get_by_test_id("current-time")).to_have_text("2/2/2024, 10:00:00 AM")
Close the laptop lid again and open it at 10:30am.
page.clock.fast_forward("30:00")
expect(page.get_by_test_id("current-time")).to_have_text("2/2/2024, 10:30:00 AM")

See the clock guide for more details.

Miscellaneous

  • Method locator.setInputFiles() now supports uploading a directory for <input type=file webkitdirectory> elements.
    page.get_by_label("Upload directory").set_input_files('mydir')
  • Multiple methods like locator.click() or locator.press() now support a ControlOrMeta modifier key. This key maps to Meta on macOS and maps to Control on Windows and Linux.
    # Press the common keyboard shortcut Control+S or Meta+S to trigger a "Save" operation.
    page.keyboard.press("ControlOrMeta+S")
  • New property httpCredentials.send in apiRequest.newContext() 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

... (truncated)

Commits
  • 90bf2e6 build(deps): bump mypy from 1.10.0 to 1.10.1 (#2479)
  • ecb34e3 build(deps): bump types-requests from 2.32.0.20240602 to 2.32.0.20240622 (#2470)
  • 8f9bcd1 chore(roll): roll to Playwright 1.45.1-beta-1719996498000 (#2474)
  • d83dc6e fix(fetch): serialise empty array in 'data' as JSON (#2476)
  • c6cc4c9 chore(roll): roll Playwright to 1.45.0-alpha-2024-06-14 (#2464)
  • b331b8e devops: update conda-incubator/setup-miniconda to v3 (#2467)
  • 3c46eec build(deps): bump flake8 from 7.0.0 to 7.1.0 (#2466)
  • f8c8882 devops: run conda test builds on macos-13
  • d46b729 build(deps): bump types-requests from 2.31.0.20240406 to 2.32.0.20240602 (#2459)
  • 5213511 build(deps): bump requests from 2.32.0 to 2.32.3 (#2458)
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 4, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/playwright-approx-eq-1.45.0 branch from 784fed0 to b017a9c Compare July 4, 2024 21:45
@fscherf
Copy link
Owner

fscherf commented Jul 22, 2024

@dependabot rebase

Updates the requirements on [playwright](https://github.com/Microsoft/playwright-python) to permit the latest version.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.44.0...v1.45.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/playwright-approx-eq-1.45.0 branch from b017a9c to 9577c76 Compare July 22, 2024 09:17
@fscherf fscherf merged commit 6a5ad70 into master Jul 22, 2024
6 checks passed
@fscherf fscherf deleted the dependabot/pip/playwright-approx-eq-1.45.0 branch July 22, 2024 10:31
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant