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/test from 1.27.1 to 1.30.0 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Centaurioun
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @playwright/test from 1.27.1 to 1.30.0.

ℹ️ 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 168 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-01-25.
Release notes
Package name: @playwright/test
  • 1.30.0 - 2023-01-25

    🎉 Happy New Year 🎉

    Maintenance release with bugfixes and new browsers only. We are baking some nice features for v1.31.

    Browser Versions

    • Chromium 110.0.5481.38
    • Mozilla Firefox 108.0.2
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 109
    • Microsoft Edge 109
  • 1.30.0-beta-1674594361000 - 2023-01-24
  • 1.30.0-beta-1674276599000 - 2023-01-21
  • 1.30.0-beta-1674267855000 - 2023-01-21
  • 1.30.0-alpha-jan-9-2023 - 2023-01-09
  • 1.30.0-alpha-jan-8-2023 - 2023-01-08
  • 1.30.0-alpha-jan-7-2023 - 2023-01-07
  • 1.30.0-alpha-jan-6-2023 - 2023-01-06
  • 1.30.0-alpha-jan-5-2023 - 2023-01-05
  • 1.30.0-alpha-jan-4-2023 - 2023-01-04
  • 1.30.0-alpha-jan-3-2023 - 2023-01-03
  • 1.30.0-alpha-jan-21-2023 - 2023-01-21
  • 1.30.0-alpha-jan-20-2023 - 2023-01-20
  • 1.30.0-alpha-jan-2-2023 - 2023-01-02
  • 1.30.0-alpha-jan-19-2023 - 2023-01-19
  • 1.30.0-alpha-jan-18-2023 - 2023-01-18
  • 1.30.0-alpha-jan-17-2023 - 2023-01-17
  • 1.30.0-alpha-jan-16-2023 - 2023-01-16
  • 1.30.0-alpha-jan-15-2023 - 2023-01-15
  • 1.30.0-alpha-jan-14-2023 - 2023-01-14
  • 1.30.0-alpha-jan-12-2023 - 2023-01-12
  • 1.30.0-alpha-jan-11-2023 - 2023-01-11
  • 1.30.0-alpha-jan-10-2023 - 2023-01-10
  • 1.30.0-alpha-jan-1-2023 - 2023-01-01
  • 1.30.0-alpha-dec-31-2022 - 2022-12-31
  • 1.30.0-alpha-dec-30-2022 - 2022-12-30
  • 1.30.0-alpha-dec-29-2022 - 2022-12-29
  • 1.30.0-alpha-dec-28-2022 - 2022-12-28
  • 1.30.0-alpha-dec-27-2022 - 2022-12-27
  • 1.30.0-alpha-dec-26-2022 - 2022-12-26
  • 1.30.0-alpha-dec-25-2022 - 2022-12-25
  • 1.30.0-alpha-dec-24-2022 - 2022-12-24
  • 1.30.0-alpha-dec-23-2022 - 2022-12-23
  • 1.30.0-alpha-dec-22-2022 - 2022-12-22
  • 1.30.0-alpha-dec-21-2022 - 2022-12-21
  • 1.30.0-alpha-dec-20-2022 - 2022-12-20
  • 1.30.0-alpha-dec-19-2022 - 2022-12-19
  • 1.30.0-alpha-dec-18-2022 - 2022-12-18
  • 1.30.0-alpha-dec-17-2022 - 2022-12-17
  • 1.30.0-alpha-dec-16-2022 - 2022-12-16
  • 1.29.2 - 2023-01-06

    Highlights

    #19661 - [BUG] 1.29.1 browserserver + page.goto = net::ERR_SOCKS_CONNECTION_FAILED

    Browser Versions

    • Chromium 109.0.5414.46
    • Mozilla Firefox 107.0
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 108
    • Microsoft Edge 108
  • 1.29.2-beta-1672991382000 - 2023-01-06
  • 1.29.1 - 2022-12-21

    Highlights

    #18928 - [BUG] Electron firstWindow times out after upgrading to 1.28.0
    #19246 - [BUG] Electron firstWindow times out after upgrading to 1.28.1
    #19412 - [REGRESSION]: 1.28 does not work with electron-serve anymore.
    #19540 - [BUG] electron.app.getAppPath() returns the path one level higher if you run electron pointing to the directory
    #19548 - [REGRESSION]: Ubuntu 18 LTS not supported anymore

    Browser Versions

    • Chromium 109.0.5414.46
    • Mozilla Firefox 107.0
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 108
    • Microsoft Edge 108
  • 1.29.1-beta-1672962462000 - 2023-01-05
  • 1.29.1-beta-1672783485000 - 2023-01-03
  • 1.29.1-beta-1672665986000 - 2023-01-02
  • 1.29.1-beta-1672665461000 - 2023-01-02
  • 1.29.1-beta-1672169891000 - 2022-12-27
  • 1.29.1-beta-1671657572000 - 2022-12-21
  • 1.29.0 - 2022-12-16

    New APIs

    • New method route.fetch() and new option json for route.fulfill():

      await page.route('**/api/settings', async route => {
      // Fetch original settings.
      const response = await route.fetch();

      // Force settings theme to a predefined value.
      const json = await response.json();
      json.theme = 'Solorized';

      // Fulfill with modified data.
      await route.fulfill({ json });
      });

    • New method locator.all() to iterate over all matching elements:

      // Check all checkboxes!
      const checkboxes = page.getByRole('checkbox');
      for (const checkbox of await checkboxes.all())
        await checkbox.check();
    • Locator.selectOption matches now by value or label:

      <select multiple>
        <option value="red">Red</div>
        <option value="green">Green</div>
        <option value="blue">Blue</div>
      </select>
      await element.selectOption('Red');
    • Retry blocks of code until all assertions pass:

      await expect(async () => {
        const response = await page.request.get('https://api.example.com');
        await expect(response).toBeOK();
      }).toPass();

      Read more in our documentation.

    • Automatically capture full page screenshot on test failure:

      // playwright.config.ts
      import type { PlaywrightTestConfig } from '@ playwright/test';

      const config: PlaywrightTestConfig = {
      use: {
      screenshot: {
      mode: 'only-on-failure',
      fullPage: true,
      }
      }
      };

      export default config;

    Miscellaneous

    Browser Versions

    • Chromium 109.0.5414.46
    • Mozilla Firefox 107.0
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 108
    • Microsoft Edge 108
  • 1.29.0-beta-1671650070000 - 2022-12-21
  • 1.29.0-beta-1671647145000 - 2022-12-21
  • 1.29.0-beta-1671647126000 - 2022-12-21
  • 1.29.0-beta-1671570437000 - 2022-12-20
  • 1.29.0-beta-1671569610000 - 2022-12-20
  • 1.29.0-beta-1671569601000 - 2022-12-20
  • 1.29.0-beta-1671569558000 - 2022-12-20
  • 1.29.0-beta-1671562759000 - 2022-12-20
  • 1.29.0-beta-1671554636000 - 2022-12-20
  • 1.29.0-beta-1671488624000 - 2022-12-19
  • 1.29.0-beta-1671218511000 - 2022-12-16
  • 1.29.0-beta-1671214600000 - 2022-12-16
  • 1.29.0-beta-1671212996000 - 2022-12-16
  • 1.29.0-beta-1671212933000 - 2022-12-16
  • 1.29.0-beta-1671211191000 - 2022-12-16
  • 1.29.0-beta-1671211175000 - 2022-12-16
  • 1.29.0-beta-1671131879000 - 2022-12-15
  • 1.29.0-alpha-nov-30-2022 - 2022-11-30
  • 1.29.0-alpha-nov-29-2022 - 2022-11-29
  • 1.29.0-alpha-nov-28-2022 - 2022-11-28
  • 1.29.0-alpha-nov-27-2022 - 2022-11-27
  • 1.29.0-alpha-nov-26-2022 - 2022-11-26
  • 1.29.0-alpha-nov-25-2022 - 2022-11-25
  • 1.29.0-alpha-nov-24-2022 - 2022-11-24
  • 1.29.0-alpha-nov-23-2022 - 2022-11-23
  • 1.29.0-alpha-nov-22-2022 - 2022-11-22
  • 1.29.0-alpha-nov-21-2022 - 2022-11-21
  • 1.29.0-alpha-nov-20-2022 - 2022-11-20
  • 1.29.0-alpha-nov-19-2022 - 2022-11-19
  • 1.29.0-alpha-nov-18-2022 - 2022-11-18
  • 1.29.0-alpha-nov-17-2022 - 2022-11-17
  • 1.29.0-alpha-nov-15-2022 - 2022-11-15
  • 1.29.0-alpha-nov-14-2022 - 2022-11-14
  • 1.29.0-alpha-nov-13-2022 - 2022-11-13
  • 1.29.0-alpha-nov-12-2022 - 2022-11-12
  • 1.29.0-alpha-dec-9-2022 - 2022-12-09
  • 1.29.0-alpha-dec-8-2022 - 2022-12-08
  • 1.29.0-alpha-dec-7-2022 - 2022-12-07
  • 1.29.0-alpha-dec-6-2022 - 2022-12-06
  • 1.29.0-alpha-dec-5-2022 - 2022-12-05
  • 1.29.0-alpha-dec-4-2022 - 2022-12-04
  • 1.29.0-alpha-dec-3-2022 - 2022-12-03
  • 1.29.0-alpha-dec-2-2022 - 2022-12-02
  • 1.29.0-alpha-dec-15-2022 - 2022-12-15
  • 1.29.0-alpha-dec-14-2022 - 2022-12-14
  • 1.29.0-alpha-dec-13-2022 - 2022-12-13
  • 1.29.0-alpha-dec-12-2022 - 2022-12-12
  • 1.29.0-alpha-dec-11-2022 - 2022-12-11
  • 1.29.0-alpha-dec-10-2022 - 2022-12-10
  • 1.29.0-alpha-dec-1-2022 - 2022-12-01
  • 1.29.0-alpha-1671074593000 - 2022-12-15
  • 1.29.0-alpha-1668454236000 - 2022-11-14
  • 1.28.1 - 2022-11-23

    Highlights

    This patch release includes the following bug fixes:

    #18928 - [BUG] Electron firstWindow times out after upgrading to 1.28.0
    #18920 - [BUG] [expanded=false] in role selector returns elements without aria-expanded attribute
    #18865 - [BUG] regression in killing web server process in 1.28.0

    Browser Versions

    • Chromium 108.0.5359.29
    • Mozilla Firefox 106.0
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 107
    • Microsoft Edge 107
  • 1.28.1-beta-1669161670000 - 2022-11-23
  • 1.28.1-beta-1669146784000 - 2022-11-22
  • 1.28.1-beta-1669075766000 - 2022-11-22
  • 1.28.0 - 2022-11-16

    Playwright Tools

    • Record at Cursor in VSCode. You can run the test, position the cursor at the end of the test and continue generating the test.

    New VSCode Extension

    • Live Locators in VSCode. You can hover and edit locators in VSCode to get them highlighted in the opened browser.
    • Live Locators in CodeGen. Generate a locator for any element on the page using "Explore" tool.

    Locator Explorer

    • Codegen and Trace Viewer Dark Theme. Automatically picked up from operating system settings.

    Dark Theme

    Test Runner

    New APIs

    Browser Versions

    • Chromium 108.0.5359.29
    • Mozilla Firefox 106.0
    • WebKit 16.4

    This version was also tested against the following stable channels:

    • Google Chrome 107
    • Microsoft Edge 107
  • 1.28.0-beta-1669074896000 - 2022-11-21
  • 1.28.0-beta-1669073057000 - 2022-11-21
  • 1.28.0-beta-1669072579000 - 2022-11-21
  • 1.28.0-beta-1668756027000 - 2022-11-18
  • 1.28.0-beta-1668635971000 - 2022-11-16
  • 1.28.0-beta-1668558158000 - 2022-11-16
  • 1.28.0-beta-1668558062000 - 2022-11-16
  • 1.28.0-beta-1668546899000 - 2022-11-15
  • 1.28.0-beta-1668546662000 - 2022-11-15
  • 1.28.0-beta-1668541955000 - 2022-11-15
  • 1.28.0-beta-1668541928000 - 2022-11-15
  • 1.28.0-beta-1668538774000 - 2022-11-15
  • 1.28.0-beta-1668538195000 - 2022-11-15
  • 1.28.0-beta-1668535043000 - 2022-11-15
  • 1.28.0-beta-1668481322000 - 2022-11-15
  • 1.28.0-beta-1668473403000 - 2022-11-15
  • 1.28.0-beta-1668469027000 - 2022-11-14
  • 1.28.0-beta-1668463093000 - 2022-11-14
  • 1.28.0-beta-1668449150000 - 2022-11-14
  • 1.28.0-beta-1668449009000 - 2022-11-14
  • 1.28.0-beta-1668203080000 - 2022-11-11
  • 1.28.0-alpha-oct-9-2022 - 2022-10-09
  • 1.28.0-alpha-oct-8-2022 - 2022-10-08
  • 1.28.0-alpha-oct-7-2022 - 2022-10-07
  • 1.28.0-alpha-oct-6-2022 - 2022-10-06
  • 1.28.0-alpha-oct-31-2022 - 2022-10-31
  • 1.28.0-alpha-oct-30-2022 - 2022-10-30
  • 1.28.0-alpha-oct-29-2022 - 2022-10-29
  • 1.28.0-alpha-oct-28-2022 - 2022-10-28
  • 1.28.0-alpha-oct-27-2022 - 2022-10-27
  • 1.28.0-alpha-oct-26-2022 - 2022-10-26
  • 1.28.0-alpha-oct-25-2022 - 2022-10-25
  • 1.28.0-alpha-oct-24-2022 - 2022-10-24
  • 1.28.0-alpha-oct-23-2022 - 2022-10-23
  • 1.28.0-alpha-oct-22-2022 - 2022-10-22
  • 1.28.0-alpha-oct-21-2022 - 2022-10-21
  • 1.28.0-alpha-oct-20-2022 - 2022-10-20
  • 1.28.0-alpha-oct-19-2022 - 2022-10-19
  • 1.28.0-alpha-oct-18-2022 - 2022-10-18
  • 1.28.0-alpha-oct-17-2022 - 2022-10-17
  • 1.28.0-alpha-oct-16-2022 - 2022-10-16
  • 1.28.0-alpha-oct-15-2022 - 2022-10-15
  • 1.28.0-alpha-oct-14-2022 - 2022-10-14
  • 1.28.0-alpha-oct-13-2022 - 2022-10-13
  • 1.28.0-alpha-oct-12-2022 - 2022-10-12
  • 1.28.0-alpha-oct-11-2022 - 2022-10-11
  • 1.28.0-alpha-oct-10-2022 - 2022-10-10
  • 1.28.0-alpha-nov-9-2022 - 2022-11-09
  • 1.28.0-alpha-nov-8-2022 - 2022-11-08
  • 1.28.0-alpha-nov-7-2022 - 2022-11-07
  • 1.28.0-alpha-nov-6-2022 - 2022-11-06
  • 1.28.0-alpha-nov-5-2022 - 2022-11-05
  • 1.28.0-alpha-nov-4-2022 - 2022-11-04
  • 1.28.0-alpha-nov-3-2022 - 2022-11-03
  • 1.28.0-alpha-nov-2-2022 - 2022-11-02
  • 1.28.0-alpha-nov-11-2022 - 2022-11-11
  • 1.28.0-alpha-nov-10-2022 - 2022-11-10
  • 1.28.0-alpha-nov-1-2022 - 2022-11-01
  • 1.28.0-alpha-1667504282000 - 2022-11-03
  • 1.28.0-alpha-1666810142000 - 2022-10-26
  • 1.28.0-alpha-1666716920000 - 2022-10-25
  • 1.27.1 - 2022-10-12
    Read more
from @playwright/test GitHub release notes
Commit messages
Package name: @playwright/test
  • aea542f cherry-pick(#20336): Revert "chore: respect headless option when reusing browser (#19980)" (#20340)
  • f8a46e3 chore: mark release 1.30 (#20270)
  • 7ff2760 chore: experimental oop loader (#20269)
  • eafa6fd fix(expect): poll/toPass should not wait over specified timeout (#20266)
  • d8e8ddb feat(webkit): roll to r1767 (#20265)
  • 8d646d1 chore: release notes for 1.30 (#20264)
  • 3066ffd chore: use fake pool on the runner side (#20241)
  • 1cd90cc feat(webkit): roll to r1766 (#20244)
  • 411a865 chore: roll webkit to 1765 (#20228)
  • fdd62f3 chore: extract pool builder, simplify project suite cloning (#20235)
  • d950f5b chore: remove toIntersectViewport for the next release (#20232)
  • 3f79786 test: fix socks proxy test for wk mac (#20227)
  • 1b8b20d chore: drop `locator.viewportRatio()` method (#20131)
  • e87b974 feat(webkit): roll to r1763 (#20226)
  • b4d6349 feat(chromium-tip-of-tree): roll to r1079 (#20224)
  • 4b53b18 feat(chromium): roll to r1045 (#20219)
  • 9323e24 docs: remove showcase reference
  • bddc120 docs: delete showcase.md (#20222)
  • e740522 feat(webkit): roll to r1761 (#20207)
  • e08168e chore: temporarily remove project and global setup, store (#20181)
  • 6d63773 feat(webkit): roll to r1760 (#20197)
  • 0facbe0 docs: java release notes snippet (#20200)
  • 9edc0ad feat(firefox-beta): roll to r1374 (#20117)
  • c9873cd feat(firefox): roll to r1372 (#20118)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sonarcloud
Copy link

sonarcloud bot commented Mar 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

2 participants