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.40.1 to 1.43.0 #409

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

Conversation

leonardoadame
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.40.1 to 1.43.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 178 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2024-04-04.
Release notes
Package name: @playwright/test
  • 1.43.0 - 2024-04-04

    New APIs

    • Method browserContext.clearCookies() now supports filters to remove only some cookies.

      // Clear all cookies.
      await context.clearCookies();
      // New: clear cookies with a particular name.
      await context.clearCookies({ name: 'session-id' });
      // New: clear cookies for a particular domain.
      await context.clearCookies({ domain: 'my-origin.com' });
    • New mode retain-on-first-failure for testOptions.trace. In this mode, trace is recorded for the first run of each test, but not for retires. When test run fails, the trace file is retained, otherwise it is removed.

      import { defineConfig } from '@ playwright/test';

      export default defineConfig({
      use: {
      trace: 'retain-on-first-failure',
      },
      });

    • New property testInfo.tags exposes test tags during test execution.

      test('example', async ({ page }) => {
        console.log(test.info().tags);
      });
    • New method locator.contentFrame() converts a Locator object to a FrameLocator. This can be useful when you have a Locator object obtained somewhere, and later on would like to interact with the content inside the frame.

      const locator = page.locator('iframe[name="embedded"]');
      // ...
      const frameLocator = locator.contentFrame();
      await frameLocator.getByRole('button').click();
    • New method frameLocator.owner() converts a FrameLocator object to a Locator. This can be useful when you have a FrameLocator object obtained somewhere, and later on would like to interact with the iframe element.

      const frameLocator = page.frameLocator('iframe[name="embedded"]');
      // ...
      const locator = frameLocator.owner();
      await expect(locator).toBeVisible();

    UI Mode Updates

    Playwright UI Mode

    • See tags in the test list.
    • Filter by tags by typing @ fast or clicking on the tag itself.
    • New shortcuts:
      • F5 to run tests.
      • Shift F5 to stop running tests.
      • Ctrl ` to toggle test output.

    Browser Versions

    • Chromium 124.0.6367.29
    • Mozilla Firefox 124.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 123
    • Microsoft Edge 123
  • 1.43.0-beta-1712871607000 - 2024-04-11
  • 1.43.0-beta-1712860105000 - 2024-04-11
  • 1.43.0-beta-1712646596000 - 2024-04-09
  • 1.43.0-beta-1712258732000 - 2024-04-04
  • 1.43.0-beta-1712217576000 - 2024-04-04
  • 1.43.0-beta-1712173949000 - 2024-04-03
  • 1.43.0-beta-1712010778000 - 2024-04-01
  • 1.43.0-beta-1711849714000 - 2024-03-31
  • 1.43.0-beta-1711742093000 - 2024-03-29
  • 1.43.0-beta-1711653598000 - 2024-03-28
  • 1.43.0-beta-1711554436000 - 2024-03-27
  • 1.43.0-beta-1711493485000 - 2024-03-26
  • 1.43.0-beta-1711484700000 - 2024-03-26
  • 1.43.0-beta-1709675102000 - 2024-03-05
  • 1.43.0-alpha-2024-03-26 - 2024-03-26
  • 1.43.0-alpha-2024-03-25 - 2024-03-25
  • 1.43.0-alpha-2024-03-24 - 2024-03-24
  • 1.43.0-alpha-2024-03-23 - 2024-03-23
  • 1.43.0-alpha-2024-03-22 - 2024-03-22
  • 1.43.0-alpha-2024-03-21 - 2024-03-21
  • 1.43.0-alpha-2024-03-20 - 2024-03-20
  • 1.43.0-alpha-2024-03-19 - 2024-03-19
  • 1.43.0-alpha-2024-03-18 - 2024-03-18
  • 1.43.0-alpha-2024-03-17 - 2024-03-17
  • 1.43.0-alpha-2024-03-16 - 2024-03-16
  • 1.43.0-alpha-2024-03-15 - 2024-03-15
  • 1.43.0-alpha-2024-03-14 - 2024-03-14
  • 1.43.0-alpha-2024-03-13 - 2024-03-13
  • 1.43.0-alpha-2024-03-12 - 2024-03-12
  • 1.43.0-alpha-2024-03-11 - 2024-03-11
  • 1.43.0-alpha-2024-03-10 - 2024-03-10
  • 1.43.0-alpha-2024-03-09 - 2024-03-09
  • 1.43.0-alpha-2024-03-08 - 2024-03-08
  • 1.43.0-alpha-2024-03-07 - 2024-03-07
  • 1.43.0-alpha-2024-03-06 - 2024-03-06
  • 1.43.0-alpha-2024-03-05 - 2024-03-05
  • 1.43.0-alpha-2024-03-04 - 2024-03-04
  • 1.43.0-alpha-2024-03-03 - 2024-03-03
  • 1.43.0-alpha-2024-03-02 - 2024-03-02
  • 1.43.0-alpha-2024-03-01 - 2024-03-01
  • 1.43.0-alpha-2024-02-29 - 2024-02-29
  • 1.43.0-alpha-2024-02-28 - 2024-02-28
  • 1.43.0-alpha-1711470013000 - 2024-03-26
  • 1.43.0-alpha-1711027602000 - 2024-03-21
  • 1.43.0-alpha-1710520846000 - 2024-03-15
  • 1.43.0-alpha-1709847741000 - 2024-03-07
  • 1.43.0-alpha-1709823751000 - 2024-03-07
  • 1.42.1 - 2024-03-02

    Highlights

    #29732 - [Regression]: HEAD requests to webServer.url since v1.42.0
    #29746 - [Regression]: Playwright CT CLI scripts fail due to broken initializePlugin import
    #29739 - [Bug]: Component tests fails when imported a module with a dot in a name
    #29731 - [Regression]: 1.42.0 breaks some import statements
    #29760 - [Bug]: Possible regression with chained locators in v1.42

    Browser Versions

    • Chromium 123.0.6312.4
    • Mozilla Firefox 123.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 122
    • Microsoft Edge 123
  • 1.42.1-beta-1710270182000 - 2024-03-12
  • 1.42.1-beta-1710200485000 - 2024-03-11
  • 1.42.1-beta-1710181789000 - 2024-03-11
  • 1.42.1-beta-1709718680000 - 2024-03-06
  • 1.42.1-beta-1709332975000 - 2024-03-01
  • 1.42.0 - 2024-02-27
    Read more
  • 1.42.0-beta-1709320822000 - 2024-03-01
  • 1.42.0-beta-1709314844000 - 2024-03-01
  • 1.42.0-beta-1709314651000 - 2024-03-01
  • 1.42.0-beta-1709262915000 - 2024-03-01
  • 1.42.0-beta-1709254258000 - 2024-03-01
  • 1.42.0-beta-1709239763000 - 2024-02-29
  • 1.42.0-beta-1709226226000 - 2024-02-29
  • 1.42.0-beta-1709198925000 - 2024-02-29
  • 1.42.0-beta-1709158069000 - 2024-02-28
  • 1.42.0-beta-1709060724000 - 2024-02-27
  • 1.42.0-beta-1709049149000 - 2024-02-27
  • 1.42.0-beta-1708998235000 - 2024-02-27
  • 1.42.0-beta-1708998003000 - 2024-02-27
  • 1.42.0-beta-1708994059000 - 2024-02-27
  • 1.42.0-beta-1708467899000 - 2024-02-21
  • 1.42.0-alpha-jan-18-2024 - 2024-01-18
  • 1.42.0-alpha-jan-17-2024 - 2024-01-17
  • 1.42.0-alpha-jan-16-2024 - 2024-01-16
  • 1.42.0-alpha-jan-15-2024 - 2024-01-15
  • 1.42.0-alpha-jan-14-2024 - 2024-01-14
  • 1.42.0-alpha-jan-13-2024 - 2024-01-13
  • 1.42.0-alpha-2024-02-27 - 2024-02-27
  • 1.42.0-alpha-2024-02-26 - 2024-02-26
  • 1.42.0-alpha-2024-02-25 - 2024-02-25
  • 1.42.0-alpha-2024-02-24 - 2024-02-24
  • 1.42.0-alpha-2024-02-23 - 2024-02-23
  • 1.42.0-alpha-2024-02-22 - 2024-02-22
  • 1.42.0-alpha-2024-02-21 - 2024-02-21
  • 1.42.0-alpha-2024-02-20 - 2024-02-20
  • 1.42.0-alpha-2024-02-19 - 2024-02-19
  • 1.42.0-alpha-2024-02-18 - 2024-02-18
  • 1.42.0-alpha-2024-02-17 - 2024-02-17
  • 1.42.0-alpha-2024-02-16 - 2024-02-16
  • 1.42.0-alpha-2024-02-15 - 2024-02-15
  • 1.42.0-alpha-2024-02-14 - 2024-02-14
  • 1.42.0-alpha-2024-02-13 - 2024-02-13
  • 1.42.0-alpha-2024-02-12 - 2024-02-12
  • 1.42.0-alpha-2024-02-11 - 2024-02-11
  • 1.42.0-alpha-2024-02-10 - 2024-02-10
  • 1.42.0-alpha-2024-02-09 - 2024-02-09
  • 1.42.0-alpha-2024-02-08 - 2024-02-08
  • 1.42.0-alpha-2024-02-07 - 2024-02-07
  • 1.42.0-alpha-2024-02-06 - 2024-02-06
  • 1.42.0-alpha-2024-02-05 - 2024-02-05
  • 1.42.0-alpha-2024-02-04 - 2024-02-04
  • 1.42.0-alpha-2024-02-03 - 2024-02-03
  • 1.42.0-alpha-2024-02-02 - 2024-02-02
  • 1.42.0-alpha-2024-02-01 - 2024-02-01
  • 1.42.0-alpha-2024-01-31 - 2024-01-31
  • 1.42.0-alpha-2024-01-30 - 2024-01-30
  • 1.42.0-alpha-1708140911000 - 2024-02-17
  • 1.42.0-alpha-1707967288000 - 2024-02-15
  • 1.42.0-alpha-1707816346000 - 2024-02-13
  • 1.42.0-alpha-1706562895000 - 2024-01-29
  • 1.41.2 - 2024-02-01

    Highlights

    #29123 - [REGRESSION] route.continue: Protocol error (Fetch.continueRequest): Invalid InterceptionId.

    Browser Versions

    • Chromium 121.0.6167.57
    • Mozilla Firefox 121.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 120
    • Microsoft Edge 120
  • 1.41.2-beta-1706815456000 - 2024-02-01
  • 1.41.1 - 2024-01-19

    Highlights

    #29067 - [REGRESSION] Codegen/Recorder: not all clicks are being actioned nor recorded
    #29028 - [REGRESSION] React component tests throw type error when passing null/undefined to component
    #29027 - [REGRESSION] React component tests not passing Date prop values
    #29023 - [REGRESSION] React component tests not rendering children prop
    #29019 - [REGRESSION] trace.playwright.dev does not currently support the loading from URL

    Browser Versions

    • Chromium 121.0.6167.57
    • Mozilla Firefox 121.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 120
    • Microsoft Edge 120
  • 1.41.1-beta-1706807510000 - 2024-02-01
  • 1.41.1-beta-1706549589000 - 2024-01-29
  • 1.41.1-beta-1705705504000 - 2024-01-19
  • 1.41.0 - 2024-01-16

    New APIs

    Browser Versions

    • Chromium 121.0.6167.57
    • Mozilla Firefox 121.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 120
    • Microsoft Edge 120
  • 1.41.0-beta-1705698523000 - 2024-01-19
  • 1.41.0-beta-1705691527000 - 2024-01-19
  • 1.41.0-beta-1705607048000 - 2024-01-18
  • 1.41.0-beta-1705568792000 - 2024-01-18
  • 1.41.0-beta-1705516904000 - 2024-01-17
  • 1.41.0-beta-1705429643000 - 2024-01-16
  • 1.41.0-beta-1705101589000 - 2024-01-12
  • 1.41.0-beta-1705092460000 - 2024-01-12
  • 1.41.0-alpha-nov-29-2023 - 2023-11-29
  • 1.41.0-alpha-nov-28-2023 - 2023-11-28
  • 1.41.0-alpha-nov-27-2023 - 2023-11-27
  • 1.41.0-alpha-nov-26-2023 - 2023-11-26
  • 1.41.0-alpha-nov-25-2023 - 2023-11-25
  • 1.41.0-alpha-nov-24-2023 - 2023-11-24
  • 1.41.0-alpha-nov-23-2023 - 2023-11-23
  • 1.41.0-alpha-nov-22-2023 - 2023-11-22
  • 1.41.0-alpha-nov-21-2023 - 2023-11-21
  • 1.41.0-alpha-nov-20-2023 - 2023-11-20
  • 1.41.0-alpha-nov-19-2023 - 2023-11-19
  • 1.41.0-alpha-nov-18-2023 - 2023-11-18
  • 1.41.0-alpha-nov-17-2023 - 2023-11-17
  • 1.41.0-alpha-jan-9-2024 - 2024-01-09
  • 1.41.0-alpha-jan-8-2024 - 2024-01-08
  • 1.41.0-alpha-jan-7-2024 - 2024-01-07
  • 1.41.0-alpha-jan-6-2024 - 2024-01-06
  • 1.41.0-alpha-jan-5-2024 - 2024-01-05
  • 1.41.0-alpha-jan-4-2024 - 2024-01-04
  • 1.41.0-alpha-jan-3-2024 - 2024-01-03
  • 1.41.0-alpha-jan-2-2024 - 2024-01-02
  • 1.41.0-alpha-jan-12-2024 - 2024-01-12
  • 1.41.0-alpha-jan-11-2024 - 2024-01-11
  • 1.41.0-alpha-jan-10-2024 - 2024-01-10
  • 1.41.0-alpha-jan-1-2024 - 2024-01-01
  • 1.41.0-alpha-dec-9-2023 - 2023-12-09
  • 1.41.0-alpha-dec-8-2023 - 2023-12-08
  • 1.41.0-alpha-dec-7-2023 - 2023-12-07
  • 1.41.0-alpha-dec-31-2023 - 2023-12-31
  • 1.41.0-alpha-dec-30-2023 - 2023-12-30
  • 1.41.0-alpha-dec-29-2023 - 2023-12-29
  • 1.41.0-alpha-dec-28-2023 - 2023-12-28
  • 1.41.0-alpha-dec-27-2023 - 2023-12-27
  • 1.41.0-alpha-dec-26-2023 - 2023-12-26
  • 1.41.0-alpha-dec-25-2023 - 2023-12-25
  • 1.41.0-alpha-dec-24-2023 - 2023-12-24
  • 1.41.0-alpha-dec-23-2023 - 2023-12-23
  • 1.41.0-alpha-dec-22-2023 - 2023-12-22
  • 1.41.0-alpha-dec-21-2023 - 2023-12-21
  • 1.41.0-alpha-dec-20-2023 - 2023-12-20
  • 1.41.0-alpha-dec-19-2023 - 2023-12-19
  • 1.41.0-alpha-dec-18-2023 - 2023-12-18
  • 1.41.0-alpha-dec-17-2023 - 2023-12-17
  • 1.41.0-alpha-dec-16-2023 - 2023-12-16
  • 1.41.0-alpha-dec-15-2023 - 2023-12-15
  • 1.41.0-alpha-dec-14-2023 - 2023-12-14
  • 1.41.0-alpha-dec-13-2023 - 2023-12-13
  • 1.41.0-alpha-dec-12-2023 - 2023-12-12
  • 1.41.0-alpha-dec-11-2023 - 2023-12-11
  • 1.41.0-alpha-dec-10-2023 - 2023-12-10
  • 1.41.0-alpha-1704968142000 - 2024-01-11
  • 1.41.0-alpha-1702670966000 - 2023-12-15
  • 1.41.0-alpha-1702665650000 - 2023-12-15
  • 1.41.0-alpha-1701898456000 - 2023-12-06
  • 1.40.1 - 2023-11-28

    Highlights

    #28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traces
    #28371 - [BUG] The color of the 'ok' text did not change to green in the vs code test results section
    #28321 - [BUG] Ambiguous test outcome and status for serial mode
    #28362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characters
    #28239 - fix: collect all errors in removeFolders

    Browser Versions

    • Chromium 120.0.6099.28
    • Mozilla Firefox 119.0
    • WebKit 17.4

    This version was also tested against the following stable channels:

    • Google Chrome 119
    • Microsoft Edge 119
from @playwright/test GitHub release notes
Commit messages
Package name: @playwright/test
  • 7c7f8ac cherry-pick(#30227): chore(deps): bump vite from 5.0.12 to 5.0.13 (#30254)
  • 62d4dc9 cherry-pick(#30235): feat(chromium): roll to r1112
  • 79d4776 cherry-pick(#30226): chore: migrate to the testserver.initialize
  • 6b94231 cherry-pick(#30202): do not run setup tasks on test run via server
  • 0889736 cherry-pick(#30185): chore: opt into stdio forwarding
  • a01db3f chore: mark version 1.43.0 (#30183)
  • 1cd1239 cherry-pick(#30170): chore: hide internal commands
  • 122ab67 cherry-pick(#30138): fix: UI Mode tags without theme applied
  • 75776db cherry-pick(#30135): chore: do not exit UI mode upon page reload
  • 757f308 docs: release notes 1.43 for js (#30128)
  • 021c5c1 chore: revert support of duplicate form data fields in multipart post data (#30127)
  • e4403dd fix(chromium): race between requestPaused and requestWillBeSent in workers (#30125)
  • dd1eca2 fix(trace viewer): show correct number of pages without screencast (#30124)
  • 0bf635e chore: ensure max failures exit yields erroneous status code (#30120)
  • c27ec77 docs(test-projects-js.md): fix typo in "Test filtering" section (#30114)
  • 2de8a6b chore: move filter params into the clearCookies (#30111)
  • 1824ba1 feat(chromium-tip-of-tree): roll to r1205 (#30119)
  • 397244c test: add a test for disabled cache with context-wide request interception (#30072)
  • 599185d feat(ui-mode): show native tags in test tree (#30092)
  • 051afb9 fix(test runner): update fixture teardown error message (#30109)
  • 8e27d67 feat(webkit): roll to r1992 (#30110)
  • 65d8279 fix(ct): ct ID clash on similar imports (#30108)
  • 7039ad0 chore: follow up to the api review for test server (#30097)
  • a849ea9 feat(fetch): multiple fields with the same name in post data (#30104)

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

Copy link

stackblitz bot commented Apr 26, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

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