[Snyk] Upgrade @playwright/test from 1.19.0-alpha-1643749494000 to 1.26.0 #127
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.
Snyk has created this PR to upgrade @playwright/test from 1.19.0-alpha-1643749494000 to 1.26.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 fixes:
SNYK-JS-JPEGJS-2859218
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
SNYK-JS-MINIMIST-2429795
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @playwright/test
Assertions
expect(locator).toBeEnabled([options])
.expect(locator).toHaveText(expected[, options])
now pierces open shadow roots.expect(locator).toBeEditable([options])
.expect(locator).toBeVisible([options])
.Other Highlights
maxRedirects
forapiRequestContext.get(url[, options])
and others to limit redirect count.--pass-with-no-tests
that allows the test suite to pass when no files are found.--ignore-snapshots
to skip snapshot expectations, such asexpect(value).toMatchSnapshot()
andexpect(page).toHaveScreenshot()
.Behavior Change
A bunch of Playwright APIs already support the waitUntil: 'domcontentloaded' option. For example:
Prior to 1.26, this would wait for all iframes to fire the
DOMContentLoaded
event.To align with web specification, the
'domcontentloaded'
value only waits for the target frame to fire the'DOMContentLoaded'
event. UsewaitUntil: 'load'
to wait for all iframes.Browser Versions
This version was also tested against the following stable channels:
Highlights
This patch includes the following bug fixes:
#16937 - [REGRESSION]: session storage failing >= 1.25.0 in firefox
#16955 - Not using channel on config file when Show and Reuse browser is checked
Browser Versions
This version was also tested against the following stable channels:
Highlights
This patch includes the following bug fixes:
#16319 - [BUG] webServer.command esbuild fails with ESM and Yarn
#16460 - [BUG] Component test fails on 2nd run when SSL is used
#16665 - [BUG] custom selector engines don't work when running in debug mode
Browser Versions
This version was also tested against the following stable channels:
VSCode Extension
New Playwright actions view
Pick selector
You can pick selector right from a live page, before or after running a test
Record new test
Start recording where you left off with the new 'Record new test' feature.
Show & reuse browser
Watch your tests running live & keep devtools open. Develop while continuously running tests.
Test Runner
test.step(title, body)
now returns the value of the step function:Added
test.describe.fixme(title, callback)
.New
'interrupted'
test status.Enable tracing via CLI flag:
npx playwright test --trace=on
.New property
testCase.id
that can be use in reporters as a history ID.Announcements
mcr.microsoft.com/playwright:v1.25.0-jammy
.Browser Versions
This version was also tested against the following stable channels:
Highlights
This patch includes the following bug fixes:
#15977 - [BUG] test.use of storage state regression in 1.24
Browser Versions
This version was also tested against the following stable channels:
Highlights
This patch includes the following bug fixes:
#15898 - [BUG] Typescript error: The type for webServer config property (TestConfigWebServer) is not typed correctly
#15913 - [BUG] hooksConfig is required for mount fixture
#15932 - [BUG] - Install MS Edge on CI Fails
Browser Versions
This version was also tested against the following stable channels:
Read more
Commit messages
Package name: @playwright/test
-i
microsoft/playwright#17229)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:![](https://camo.githubusercontent.com/e19297f403b477b70da80baa697214a98b90cf4dea85b211ce85c1bdd5992355/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f6949784e5459314d5749314d533031597a4a684c5451354e7a4574596a497a4d43316b4d44566c596d45334d6d5a68595455694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a45314e6a5578596a55784c54566a4d6d45744e446b334d5331694d6a4d774c5751774e575669595463795a6d46684e534a3966513d3d)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs