[Snyk] Upgrade @playwright/test from 1.28.0 to 1.31.2 - #20
Open
snyk-bot wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade @playwright/test from 1.28.0 to 1.31.2. See this package in npm: https://www.npmjs.com/package/@playwright/test See this project in Snyk: https://app.snyk.io/org/jwood3794/project/d325e4a5-f19a-4ac8-90fb-d846016551c4?utm_source=github&utm_medium=referral&page=upgrade-pr
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.
Snyk has created this PR to upgrade @playwright/test from 1.28.0 to 1.31.2.
ℹ️ 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-HTTPCACHESEMANTICS-3248783
Why? Proof of Concept exploit, CVSS 5.3
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 5.3
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @playwright/test
-
1.31.2 - 2023-03-02
- Chromium 111.0.5563.19
- Mozilla Firefox 109.0
- WebKit 16.4
- Google Chrome 110
- Microsoft Edge 110
-
1.31.2-beta-1678209524000 - 2023-03-07
-
1.31.2-beta-1677779003000 - 2023-03-02
-
1.31.1 - 2023-02-23
- Chromium 111.0.5563.19
- Mozilla Firefox 109.0
- WebKit 16.4
- Google Chrome 110
- Microsoft Edge 110
-
1.31.1-beta-1677726071000 - 2023-03-02
-
1.31.1-beta-1677717762000 - 2023-03-02
-
1.31.1-beta-1677707236000 - 2023-03-01
-
1.31.1-beta-1677704149000 - 2023-03-01
-
1.31.1-beta-1677701932000 - 2023-03-01
-
1.31.1-beta-1677552113000 - 2023-02-28
-
1.31.1-beta-1677192045000 - 2023-02-23
-
1.31.1-beta-1677121302000 - 2023-02-23
-
1.31.0 - 2023-02-21
-
// playwright.config.ts
-
const button = page.getByRole('button');
- DOM snapshots in trace viewer can be now opened in a separate window.
- New method
- New option
- Playwright now supports Debian 11 arm64.
- Official docker images now include Node 18 instead of Node 16.
⚠️ Breaking change in component tests
// Before
// After
- Chromium 111.0.5563.19
- Mozilla Firefox 109.0
- WebKit 16.4
- Google Chrome 110
- Microsoft Edge 110
-
1.31.0-beta-1677110728000 - 2023-02-23
-
1.31.0-beta-1677106959000 - 2023-02-22
-
1.31.0-beta-1677004566000 - 2023-02-21
-
1.31.0-beta-1677002140000 - 2023-02-21
-
1.31.0-beta-1676906983000 - 2023-02-20
-
1.31.0-beta-1676685153000 - 2023-02-18
-
1.31.0-beta-1676665251000 - 2023-02-17
-
1.31.0-beta-1676605905000 - 2023-02-17
-
1.31.0-beta-1676599897000 - 2023-02-17
-
1.31.0-beta-1676596096000 - 2023-02-17
-
1.31.0-beta-1676591072000 - 2023-02-16
-
1.31.0-beta-1676584193000 - 2023-02-16
-
1.31.0-beta-1676574175000 - 2023-02-16
-
1.31.0-beta-1676564309000 - 2023-02-16
-
1.31.0-beta-1676510409000 - 2023-02-16
-
1.31.0-beta-1676493483000 - 2023-02-16
-
1.31.0-alpha-jan-31-2023 - 2023-01-31
-
1.31.0-alpha-jan-30-2023 - 2023-01-30
-
1.31.0-alpha-jan-29-2023 - 2023-01-29
-
1.31.0-alpha-jan-28-2023 - 2023-01-28
-
1.31.0-alpha-jan-27-2023 - 2023-01-27
-
1.31.0-alpha-jan-26-2023 - 2023-01-26
-
1.31.0-alpha-jan-25-2023 - 2023-01-25
-
1.31.0-alpha-jan-24-2023 - 2023-01-24
-
1.31.0-alpha-jan-23-2023 - 2023-01-23
-
1.31.0-alpha-jan-22-2023 - 2023-01-22
-
1.31.0-alpha-feb-9-2023 - 2023-02-09
-
1.31.0-alpha-feb-8-2023 - 2023-02-08
-
1.31.0-alpha-feb-7-2023 - 2023-02-07
-
1.31.0-alpha-feb-6-2023 - 2023-02-06
-
1.31.0-alpha-feb-5-2023 - 2023-02-05
-
1.31.0-alpha-feb-4-2023 - 2023-02-04
-
1.31.0-alpha-feb-3-2023 - 2023-02-03
-
1.31.0-alpha-feb-2-2023 - 2023-02-02
-
1.31.0-alpha-feb-15-2023 - 2023-02-15
-
1.31.0-alpha-feb-14-2023 - 2023-02-14
-
1.31.0-alpha-feb-13-2023 - 2023-02-13
-
1.31.0-alpha-feb-12-2023 - 2023-02-12
-
1.31.0-alpha-feb-11-2023 - 2023-02-11
-
1.31.0-alpha-feb-10-2023 - 2023-02-10
-
1.31.0-alpha-feb-1-2023 - 2023-02-01
-
1.31.0-alpha-1674768085000 - 2023-01-26
-
1.30.0 - 2023-01-25
- Chromium 110.0.5481.38
- Mozilla Firefox 108.0.2
- WebKit 16.4
- 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
- Chromium 109.0.5414.46
- Mozilla Firefox 107.0
- WebKit 16.4
- Google Chrome 108
- Microsoft Edge 108
-
1.29.2-beta-1672991382000 - 2023-01-06
-
1.29.1 - 2022-12-21
- Chromium 109.0.5414.46
- Mozilla Firefox 107.0
- WebKit 16.4
- 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
-
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
- Chromium 108.0.5359.29
- Mozilla Firefox 106.0
- WebKit 16.4
- 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
from @playwright/test GitHub release notesHighlights
#20784 - [BUG] ECONNREFUSED on GitHub Actions with Node 18
#21145 - [REGRESSION]: firefox-1378 times out on await page.reload() when URL contains a #hash
#21226 - [BUG] Playwright seems to get stuck when using shard option and last test is skipped
#21227 - Using the webServer config with a Vite dev server?
#21312 - throw if defineConfig is not used for component testing
Browser Versions
This version was also tested against the following stable channels:
Highlights
#21093 - [Regression v1.31] Headless Windows shows cascading cmd windows
#21106 - fix(loader): experimentalLoader with node@18
Browser Versions
This version was also tested against the following stable channels:
New APIs
New property
TestProject.dependenciesto configure dependencies between projects.Using dependencies allows global setup to produce traces and other artifacts,
see the setup steps in the test report and more.
import { defineConfig } from '@ playwright/test';
export default defineConfig({
projects: [
{
name: 'setup',
testMatch: /global.setup.ts/,
},
{
name: 'chromium',
use: devices['Desktop Chrome'],
dependencies: ['setup'],
},
{
name: 'firefox',
use: devices['Desktop Firefox'],
dependencies: ['setup'],
},
{
name: 'webkit',
use: devices['Desktop Safari'],
dependencies: ['setup'],
},
],
});
New assertion
expect(locator).toBeInViewport()ensures that locator points to an element that intersects viewport, according to the intersection observer API.// Make sure at least some part of element intersects viewport.
await expect(button).toBeInViewport();
// Make sure element is fully outside of viewport.
await expect(button).not.toBeInViewport();
// Make sure that at least half of the element intersects viewport.
await expect(button).toBeInViewport({ ratio: 0.5 });
Miscellaneous
defineConfigto be used inplaywright.config.maxRedirectsfor methodRoute.fetch.Note: component tests only, does not affect end-to-end tests.
playwright-ct.configconfiguration file for component testing now requires callingdefineConfig.import { type PlaywrightTestConfig, devices } from '@ playwright/experimental-ct-react';
const config: PlaywrightTestConfig = {
// ... config goes here ...
};
export default config;
Replace
configvariable definition withdefineConfigcall:import { defineConfig, devices } from '@ playwright/experimental-ct-react';
export default defineConfig({
// ... config goes here ...
});
Browser Versions
This version was also tested against the following stable channels:
🎉 Happy New Year 🎉
Maintenance release with bugfixes and new browsers only. We are baking some nice features for v1.31.
Browser Versions
This version was also tested against the following stable channels:
Highlights
#19661 - [BUG] 1.29.1 browserserver + page.goto = net::ERR_SOCKS_CONNECTION_FAILED
Browser Versions
This version was also tested against the following stable channels:
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
This version was also tested against the following stable channels:
Read more
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
This version was also tested against the following stable channels:
Commit messages
Package name: @playwright/test
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