[Snyk] Upgrade @playwright/test from 1.42.1 to 1.44.1#3
Open
YoutacRandS-VA wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade @playwright/test from 1.42.1 to 1.44.1. See this package in npm: @playwright/test See this project in Snyk: https://app.snyk.io/org/youtacrands-va/project/27cf5f34-73e8-4475-84ef-562095d3189e?utm_source=github&utm_medium=referral&page=upgrade-pr
YoutacRandS-VA
enabled auto-merge
November 1, 2024 16:02
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.42.1 to 1.44.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 99 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BRACES-6838727
SNYK-JS-IP-6240864
SNYK-JS-MICROMATCH-6838728
SNYK-JS-SEMVER-3247795
SNYK-JS-IP-7148531
SNYK-JS-TAR-6476909
Release notes
Package name: @playwright/test
-
1.44.1 - 2024-05-23
- Chromium 125.0.6422.14
- Mozilla Firefox 125.0.1
- WebKit 17.4
- Google Chrome 124
- Microsoft Edge 124
-
1.44.1-beta-1716453231000 - 2024-05-23
-
1.44.1-beta-1716449392000 - 2024-05-23
-
1.44.0 - 2024-05-06
-
-
-
- After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new
- You can use new
- The handler in page.addLocatorHandler() now accepts the locator as argument.
- New page.removeLocatorHandler() method for removing previously added locator handlers.
-
-
-
-
- New method suite.entries() returns child test suites and test cases in their declaration order. suite.type and testCase.type can be used to tell apart test cases and suites in the list.
- Blob reporter now allows overriding report file path with a single option
- JUnit reporter now supports
-
test
test --last-failed
- Chromium 125.0.6422.14
- Mozilla Firefox 125.0.1
- WebKit 17.4
- Google Chrome 124
- Microsoft Edge 124
-
1.44.0-beta-1716306049000 - 2024-05-21
-
1.44.0-beta-1716285871000 - 2024-05-21
-
1.44.0-beta-1715802478000 - 2024-05-15
-
1.44.0-beta-1715791608000 - 2024-05-15
-
1.44.0-beta-1715706051000 - 2024-05-14
-
1.44.0-beta-1715189091000 - 2024-05-08
-
1.44.0-beta-1715020014000 - 2024-05-06
-
1.44.0-beta-1715018865000 - 2024-05-06
-
1.44.0-beta-1714753004000 - 2024-05-06
-
1.44.0-beta-1714435420000 - 2024-04-30
-
1.44.0-beta-1714434520000 - 2024-04-29
-
1.44.0-alpha-2024-04-29 - 2024-04-29
-
1.44.0-alpha-2024-04-28 - 2024-04-28
-
1.44.0-alpha-2024-04-27 - 2024-04-27
-
1.44.0-alpha-2024-04-26 - 2024-04-26
-
1.44.0-alpha-2024-04-25 - 2024-04-25
-
1.44.0-alpha-2024-04-24 - 2024-04-24
-
1.44.0-alpha-2024-04-23 - 2024-04-23
-
1.44.0-alpha-2024-04-22 - 2024-04-22
-
1.44.0-alpha-2024-04-19 - 2024-04-19
-
1.44.0-alpha-2024-04-18 - 2024-04-18
-
1.44.0-alpha-2024-04-17 - 2024-04-17
-
1.44.0-alpha-2024-04-16 - 2024-04-16
-
1.44.0-alpha-2024-04-15 - 2024-04-15
-
1.44.0-alpha-2024-04-14 - 2024-04-14
-
1.44.0-alpha-2024-04-13 - 2024-04-13
-
1.44.0-alpha-2024-04-12 - 2024-04-12
-
1.44.0-alpha-2024-04-11 - 2024-04-11
-
1.44.0-alpha-2024-04-10 - 2024-04-10
-
1.44.0-alpha-2024-04-09 - 2024-04-09
-
1.44.0-alpha-2024-04-08 - 2024-04-08
-
1.44.0-alpha-2024-04-07 - 2024-04-07
-
1.44.0-alpha-2024-04-06 - 2024-04-06
-
1.44.0-alpha-2024-04-05 - 2024-04-05
-
1.44.0-alpha-2024-04-04 - 2024-04-04
-
1.44.0-alpha-2024-04-03 - 2024-04-03
-
1.44.0-alpha-2024-04-02 - 2024-04-02
-
1.44.0-alpha-2024-04-01 - 2024-04-01
-
1.44.0-alpha-2024-03-31 - 2024-03-31
-
1.44.0-alpha-2024-03-30 - 2024-03-30
-
1.44.0-alpha-2024-03-29 - 2024-03-29
-
1.44.0-alpha-2024-03-28 - 2024-03-28
-
1.44.0-alpha-2024-03-27 - 2024-03-27
-
1.44.0-alpha-1714168971000 - 2024-04-26
-
1.44.0-alpha-1711994091000 - 2024-04-01
-
1.43.1 - 2024-04-12
- Chromium 124.0.6367.29
- Mozilla Firefox 124.0
- WebKit 17.4
- Google Chrome 123
- Microsoft Edge 123
-
1.43.1-beta-1712942342000 - 2024-04-12
-
1.43.0 - 2024-04-04
-
-
import { defineConfig } from '@ playwright/test';
-
-
-

- See tags in the test list.
- Filter by tags by typing
- New shortcuts:
- F5 to run tests.
- Shift F5 to stop running tests.
- Ctrl ` to toggle test output.
- Chromium 124.0.6367.29
- Mozilla Firefox 124.0
- WebKit 17.4
- 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
- Chromium 123.0.6312.4
- Mozilla Firefox 123.0
- WebKit 17.4
- Google Chrome 122
- Microsoft Edge 123
from @playwright/test GitHub release notesHighlights
#30779 - [REGRESSION]: When using
video: 'on'with VSCode extension the browser got closed#30755 - [REGRESSION]: Electron launch with spaces inside executablePath didn't work
#30770 - [REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't work
#30858 - [REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report
Browser Versions
This version was also tested against the following stable channels:
New APIs
Accessibility assertions
expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:
expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:
expect(locator).toHaveRole() checks if the element has the specified ARIA role:
Locator handler
noWaitAfteroption.timesoption in page.addLocatorHandler() to specify maximum number of times the handler should be run.Miscellaneous options
multipartoption inapiRequestContext.fetch()now acceptsFormDataand supports repeating fields with the same name.expect(callback).toPass({ intervals })can now be configured byexpect.toPass.inervalsoption globally in testConfig.expect or per project in testProject.expect.expect(page).toHaveURL(url)now supportsignoreCaseoption.testProject.ignoreSnapshots allows to configure per project whether to skip screenshot expectations.
Reporter API
outputFile. The same option can also be specified asPLAYWRIGHT_BLOB_OUTPUT_FILEenvironment variable that might be more convenient on CI/CD.includeProjectInTestNameoption.Command line
--last-failedCLI option for running only tests that failed in the previous run.First run all tests:
Running 103 tests using 5 workers
...
2 failed
[chromium] › my-test.spec.ts:8:5 › two ─────────────────────────────────────────────────────────
[chromium] › my-test.spec.ts:13:5 › three ──────────────────────────────────────────────────────
101 passed (30.0s)
Now fix the failing tests and run Playwright again with
--last-failedoption:Running 2 tests using 2 workers
2 passed (1.2s)
Browser Versions
This version was also tested against the following stable channels:
Highlights
#30300 - [REGRESSION]: UI mode restarts if keep storage state
#30339 - [REGRESSION]: Brand new install of playwright, unable to run chromium with show browser using vscode
Browser Versions
This version was also tested against the following stable channels:
New APIs
Method browserContext.clearCookies() now supports filters to remove only some cookies.
New mode
retain-on-first-failurefor 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.export default defineConfig({
use: {
trace: 'retain-on-first-failure',
},
});
New property testInfo.tags exposes test tags during test execution.
New method locator.contentFrame() converts a
Locatorobject to aFrameLocator. This can be useful when you have aLocatorobject obtained somewhere, and later on would like to interact with the content inside the frame.New method frameLocator.owner() converts a
FrameLocatorobject to aLocator. This can be useful when you have aFrameLocatorobject obtained somewhere, and later on would like to interact with theiframeelement.UI Mode Updates
@ fastor clicking on the tag itself.Browser Versions
This version was also tested against the following stable channels:
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
This version was also tested against the following stable channels:
Important
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: