Skip to content

Bump playwright from 1.47.0 to 1.49.1#135

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/playwright-1.49.1
Open

Bump playwright from 1.47.0 to 1.49.1#135
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/playwright-1.49.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 16, 2024

Copy link
Copy Markdown
Contributor

Bumps playwright from 1.47.0 to 1.49.1.

Release notes

Sourced from playwright's releases.

v1.49.1

Highlights

microsoft/playwright-python#2679 - [Bug]: Warning: Validation of the RECORD file of playwright-1.49.0-py3-none-manylinux1_x86_64.whl failed

Browser Versions

  • Chromium 131.0.6778.33
  • Mozilla Firefox 132.0
  • WebKit 18.2

This version was also tested against the following stable channels:

  • Google Chrome 130
  • Microsoft Edge 130

v1.49.0

Aria snapshots

New assertion expect(locator).toMatchAriaSnapshot() verifies page structure by comparing to an expected accessibility tree, represented as YAML.

page.goto("https://playwright.dev")
expect(page.locator('body')).to_match_aria_snapshot('''
  - banner:
    - heading /Playwright enables reliable/ [level=1]
    - link "Get started"
    - link "Star microsoft/playwright on GitHub"
  - main:
    - img "Browsers (Chromium, Firefox, WebKit)"
    - heading "Any browser • Any platform • One API"
''')

You can generate this assertion with Test Generator or by calling locator.ariaSnapshot().

Learn more in the aria snapshots guide.

Tracing groups

New method tracing.group() allows you to visually group actions in the trace viewer.

# All actions between group and group_end
# will be shown in the trace viewer as a group.
page.context.tracing.group("Open Playwright.dev > API")
page.goto("https://playwright.dev/")
page.get_by_role("link", name="API").click()
page.context.tracing.group_end()

... (truncated)

Commits
  • 920bc4d chore: roll Playwright to v1.49.1 (#2684)
  • c8d2385 cherry-pick(#2671): devops: fix build process producing wheels with incorrect...
  • ebf26a6 devops: make wheels smaller (use deflate zip compression) (#2662)
  • f45782e chore: roll to v1.49.0 (#2660)
  • 569d7c0 fix(select): handle empty values and labels in select options (#2661)
  • c4df71c build(deps): bump setuptools from 75.4.0 to 75.5.0 (#2654)
  • 923da5c build(deps): bump the actions group with 3 updates (#2657)
  • f2ba767 devops: update GitHub Action workflows
  • 1452881 fix(tracing): apiName determination with event listeners (#2651)
  • c2dc664 devops: do not pin pytest-playwright for examples (#2647)
  • 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)

Summary by Sourcery

Build:

  • Update Playwright dependency from version 1.47.0 to 1.49.1 in requirements.txt.

Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.47.0 to 1.49.1.
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.47.0...v1.49.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
@sourcery-ai

sourcery-ai Bot commented Dec 16, 2024

Copy link
Copy Markdown

Reviewer's Guide by Sourcery

This PR updates the Playwright dependency from version 1.47.0 to 1.49.1. The update includes new features like Aria snapshots for accessibility testing, tracing groups for better trace visualization, and updates to browser versions. The implementation is straightforward, involving a single version bump in the requirements.txt file.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update Playwright package version
  • Bump version from 1.47.0 to 1.49.1
  • Update underlying browser versions (Chromium 131.0.6778.33, Firefox 132.0, WebKit 18.2)
  • Add support for Aria snapshots feature
  • Add support for tracing groups feature
  • Fix select options handling for empty values and labels
  • Fix tracing apiName determination with event listeners
requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants