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

[Snyk] Upgrade playwright-core from 1.47.0 to 1.47.1 #994

Conversation

hedera-eng-infrastructure
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade playwright-core from 1.47.0 to 1.47.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 5 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: playwright-core
  • 1.47.1 - 2024-09-13

    Highlights

    #32480 - [REGRESSION]: tsconfig.json's compilerOptions.paths no longer working in 1.47
    #32552 - [REGRESSION]: broken UI in Trace Viewer while showing network response body

    Browser Versions

    • Chromium 129.0.6668.29
    • Mozilla Firefox 130.0
    • WebKit 18.0

    This version was also tested against the following stable channels:

    • Google Chrome 128
    • Microsoft Edge 128
  • 1.47.1-beta-1726849306000 - 2024-09-20
  • 1.47.1-beta-1726827698000 - 2024-09-20
  • 1.47.1-beta-1726598621000 - 2024-09-17
  • 1.47.1-beta-1726247857000 - 2024-09-13
  • 1.47.0 - 2024-09-05

    Network Tab improvements

    The Network tab in the UI mode and trace viewer has several nice improvements:

    • filtering by asset type and URL
    • better display of query string parameters
    • preview of font assets

    Network tab now has filters

    Credit to @ kubajanik for these wonderful improvements!

    --tsconfig CLI option

    By default, Playwright will look up the closest tsconfig for each imported file using a heuristic. You can now specify a single tsconfig file in the command line, and Playwright will use it for all imported files, not only test files:

    # Pass a specific tsconfig
    npx playwright test --tsconfig tsconfig.test.json

    APIRequestContext now accepts URLSearchParams and string as query parameters

    You can now pass URLSearchParams and string as query parameters to APIRequestContext:

    test('query params', async ({ request }) => {
      const searchParams = new URLSearchParams();
      searchParams.set('userId', 1);
      const response = await request.get(
          'https://jsonplaceholder.typicode.com/posts',
          {
            params: searchParams // or as a string: 'userId=1'
          }
      );
      // ...
    });

    Miscellaneous

    • The mcr.microsoft.com/playwright:v1.47.0 now serves a Playwright image based on Ubuntu 24.04 Noble.
      To use the 22.04 jammy-based image, please use mcr.microsoft.com/playwright:v1.47.0-jammy instead.
    • The :latest/:focal/:jammy tag for Playwright Docker images is no longer being published. Pin to a specific version for better stability and reproducibility.
    • New option behavior in page.removeAllListeners(), browser.removeAllListeners() and browserContext.removeAllListeners() to wait for ongoing listeners to complete.
    • TLS client certificates can now be passed from memory by passing cert and key as buffers instead of file paths.
    • Attachments with a text/html content type can now be opened in a new tab in the HTML report. This is useful for including third-party reports or other HTML content in the Playwright test report and distributing it to your team.
    • noWaitAfter in locator.selectOption() was deprecated.
    • We've seen reports of WebGL in Webkit misbehaving on GitHub Actions macos-13. We recommend upgrading GitHub Actions to macos-14.

    Browser Versions

    • Chromium 129.0.6668.29
    • Mozilla Firefox 130.0
    • WebKit 18.0

    This version was also tested against the following stable channels:

    • Google Chrome 128
    • Microsoft Edge 128
from playwright-core GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade playwright-core from 1.47.0 to 1.47.1.

See this package in npm:
playwright-core

See this project in Snyk:
https://app.snyk.io/org/transaction-tools/project/c9db0d06-9d41-40d4-ae46-23b67c7d682c?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Copy link

codecov bot commented Oct 5, 2024

The author of this PR, hedera-eng-infrastructure, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don't hesitate to email us at [email protected] with any questions.

@SvetBorislavov SvetBorislavov deleted the snyk-upgrade-cd6e42ec02ad6db56a58d6ea96dc95db branch October 7, 2024 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants