Skip to content

Commit 3764076

Browse files
chore(deps): update dependency @playwright/test to v1.55.0 (#425)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@playwright/test](https://playwright.dev) ([source](https://redirect.github.com/microsoft/playwright)) | [`1.49.1` -> `1.55.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.49.1/1.55.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.49.1/1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>microsoft/playwright (@&#8203;playwright/test)</summary> ### [`v1.55.0`](https://redirect.github.com/microsoft/playwright/compare/v1.54.2...f992162f04ae0b0b5a0f4b6114b894215be98995) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.54.2...v1.55.0) ### [`v1.54.2`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.54.2) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.54.1...v1.54.2) ##### Highlights [https://github.com/microsoft/playwright/issues/36714](https://redirect.github.com/microsoft/playwright/issues/36714) - \[Regression]: Codegen is not able to launch in Administrator Terminal on Windows (ProtocolError: Protocol error)[https://github.com/microsoft/playwright/issues/36828](https://redirect.github.com/microsoft/playwright/issues/36828)8 - \[Regression]: Playwright Codegen keeps spamming with selected optio[https://github.com/microsoft/playwright/issues/36810](https://redirect.github.com/microsoft/playwright/issues/36810)10 - \[Regression]: Starting Codegen with target language doesn't work anymore #### Browser Versions - Chromium 139.0.7258.5 - Mozilla Firefox 140.0.2 - WebKit 26.0 This version was also tested against the following stable channels: - Google Chrome 140 - Microsoft Edge 140 ### [`v1.54.1`](https://redirect.github.com/microsoft/playwright/compare/v1.54.0...v1.54.1) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.54.0...v1.54.1) ### [`v1.54.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.54.0) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.53.2...v1.54.0) #### Highlights - New cookie property `partitionKey` in [browserContext.cookies()](https://playwright.dev/docs/api/class-browsercontext#browser-context-cookies) and [browserContext.addCookies()](https://playwright.dev/docs/api/class-browsercontext#browser-context-add-cookies). This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning. - New option `noSnippets` to disable code snippets in the html report. ```js import { defineConfig } from '@&#8203;playwright/test'; export default defineConfig({ reporter: [['html', { noSnippets: true }]] }); ``` - New property `location` in test annotations, for example in [testResult.annotations](https://playwright.dev/docs/api/class-testresult#test-result-annotations) and [testInfo.annotations](https://playwright.dev/docs/api/class-testinfo#test-info-annotations). It shows where the annotation like `test.skip` or `test.fixme` was added. #### Command Line - New option `--user-data-dir` in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions. ```bash npx playwright codegen --user-data-dir=./user-data ``` - Option `-gv` has been removed from the `npx playwright test` command. Use `--grep-invert` instead. - `npx playwright open` does not open the test recorder anymore. Use `npx playwright codegen` instead. #### Miscellaneous - Support for Node.js 16 has been removed. - Support for Node.js 18 has been deprecated, and will be removed in the future. #### Browser Versions - Chromium 139.0.7258.5 - Mozilla Firefox 140.0.2 - WebKit 26.0 This version was also tested against the following stable channels: - Google Chrome 140 - Microsoft Edge 140 ### [`v1.53.2`](https://redirect.github.com/microsoft/playwright/compare/v1.53.1...8c38de4d13d1e8e28cc97d4ad81cc398a6b2fb32) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.53.1...v1.53.2) ### [`v1.53.1`](https://redirect.github.com/microsoft/playwright/compare/v1.53.0...3c60cb476613ee50c040b488d96f390be3985a89) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.53.0...v1.53.1) ### [`v1.53.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.53.0) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.52.0...v1.53.0) #### Trace Viewer and HTML Reporter Updates - New Steps in Trace Viewer and HTML reporter: <img src="https://github.com/user-attachments/assets/1963ff7d-4070-41be-a79b-4333176921a2" alt="New Trace Viewer Steps" height="500"> - New option in `'html'` reporter to set the title of a specific test run: ```js import { defineConfig } from '@&#8203;playwright/test'; export default defineConfig({ reporter: [['html', { title: 'Custom test run #&#8203;1028' }]] }); ``` #### Miscellaneous - New option [`kind`](https://playwright.dev/docs/api/class-testinfo#test-info-snapshot-path-option-kind) in [testInfo.snapshotPath()](https://playwright.dev/docs/api/class-testinfo#test-info-snapshot-path) controls which snapshot path template is used. - New method [locator.describe()](https://playwright.dev/docs/api/class-locator#locator-describe) to describe a locator. Used for trace viewer and reports. ```js const button = page.getByTestId('btn-sub').describe('Subscribe button'); await button.click(); ``` - `npx playwright install --list` will now list all installed browsers, versions and locations. #### Browser Versions - Chromium 138.0.7204.4 - Mozilla Firefox 139.0 - WebKit 18.5 This version was also tested against the following stable channels: - Google Chrome 137 - Microsoft Edge 137 ### [`v1.52.0`](https://redirect.github.com/microsoft/playwright/compare/v1.51.1...471930b1ceae03c9e66e0eb80c1364a1a788e7db) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.51.1...v1.52.0) ### [`v1.51.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.51.1) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.51.0...v1.51.1) ##### Highlights [https://github.com/microsoft/playwright/issues/35093](https://redirect.github.com/microsoft/playwright/issues/35093) - \[Regression]: TimeoutOverflowWarning: [`2149630`](https://redirect.github.com/microsoft/playwright/commit/2149630296).634 does not fit into a 32-bit signed integer [https://github.com/microsoft/playwright/issues/35138](https://redirect.github.com/microsoft/playwright/issues/35138) - \[Regression]: TypeError: Cannot read properties of undefined (reading 'expectInfo') #### Browser Versions - Chromium 134.0.6998.35 - Mozilla Firefox 135.0 - WebKit 18.4 This version was also tested against the following stable channels: - Google Chrome 133 - Microsoft Edge 133 ### [`v1.51.0`](https://redirect.github.com/microsoft/playwright/compare/v1.50.1...3707a93754368ec1e0e2876767e8a9209f036f8a) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.50.1...v1.51.0) ### [`v1.50.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.50.1) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.50.0...v1.50.1) ##### Highlights [https://github.com/microsoft/playwright/issues/34483](https://redirect.github.com/microsoft/playwright/issues/34483) - \[Feature]: single aria snapshot for different engines/browsers[https://github.com/microsoft/playwright/issues/34497](https://redirect.github.com/microsoft/playwright/issues/34497)7 - \[Bug]: Firefox not handling keepalive: true fetch request[https://github.com/microsoft/playwright/issues/34504](https://redirect.github.com/microsoft/playwright/issues/34504)04 - \[Bug]: update snapshots not creating good dif[https://github.com/microsoft/playwright/issues/34507](https://redirect.github.com/microsoft/playwright/issues/34507)507 - \[Bug]: snapshotPathTemplate doesnt work when multiple proje[https://github.com/microsoft/playwright/issues/34462](https://redirect.github.com/microsoft/playwright/issues/34462)4462 - \[Bug]: updateSnapshots "changed" throws an error #### Browser Versions - Chromium 133.0.6943.16 - Mozilla Firefox 134.0 - WebKit 18.2 This version was also tested against the following stable channels: - Google Chrome 132 - Microsoft Edge 132 ### [`v1.50.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.50.0) [Compare Source](https://redirect.github.com/microsoft/playwright/compare/v1.49.1...v1.50.0) #### Test runner - New option [`timeout`](https://playwright.dev/docs/api/class-test#test-step-option-timeout) allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test. ```js test('some test', async ({ page }) => { await test.step('a step', async () => { // This step can time out separately from the test }, { timeout: 1000 }); }); ``` - New method [test.step.skip()](https://playwright.dev/docs/api/class-test#test-step-skip) to disable execution of a test step. ```js test('some test', async ({ page }) => { await test.step('before running step', async () => { // Normal step }); await test.step.skip('not yet ready', async () => { // This step is skipped }); await test.step('after running step', async () => { // This step still runs even though the previous one was skipped }); }); ``` - Expanded [expect(locator).toMatchAriaSnapshot()](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-match-aria-snapshot-2) to allow storing of aria snapshots in separate YAML files. - Added method [expect(locator).toHaveAccessibleErrorMessage()](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-accessible-error-message) to assert the Locator points to an element with a given [aria errormessage](https://w3c.github.io/aria/#aria-errormessage). - Option [testConfig.updateSnapshots](https://playwright.dev/docs/api/class-testconfig#test-config-update-snapshots) added the configuration enum `changed`. `changed` updates only the snapshots that have changed, whereas `all` now updates all snapshots, regardless of whether there are any differences. - New option [testConfig.updateSourceMethod](https://playwright.dev/docs/api/class-testconfig#test-config-update-source-method) defines the way source code is updated when [testConfig.updateSnapshots](https://playwright.dev/docs/api/class-testconfig#test-config-update-snapshots) is configured. Added `overwrite` and `3-way` modes that write the changes into source code, on top of existing `patch` mode that creates a patch file. ```bash npx playwright test --update-snapshots=changed --update-source-method=3way ``` - Option [testConfig.webServer](https://playwright.dev/docs/api/class-testconfig#test-config-web-server) added a `gracefulShutdown` field for specifying a process kill signal other than the default `SIGKILL`. - Exposed [testStep.attachments](https://playwright.dev/docs/api/class-teststep#test-step-attachments) from the reporter API to allow retrieval of all attachments created by that step. - New option `pathTemplate` for `toHaveScreenshot` and `toMatchAriaSnapshot` assertions in the [testConfig.expect](https://playwright.dev/docs/api/class-testconfig#test-config-expect) configuration. #### UI updates - Updated default HTML reporter to improve display of attachments. - New button for picking elements to produce aria snapshots. - Additional details (such as keys pressed) are now displayed alongside action API calls in traces. - Display of `canvas` content in traces is error-prone. Display is now disabled by default, and can be enabled via the `Display canvas content` UI setting. - `Call` and `Network` panels now display additional time information. #### Breaking - [expect(locator).toBeEditable()](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-editable) and [locator.isEditable()](https://playwright.dev/docs/api/class-locator#locator-is-editable) now throw if the target element is not `<input>`, `<select>`, or a number of other editable elements. - Option [testConfig.updateSnapshots](https://playwright.dev/docs/api/class-testconfig#test-config-update-snapshots) now updates all snapshots when set to `all`, rather than only the failed/changed snapshots. Use the new enum `changed` to keep the old functionality of only updating the changed snapshots. #### Browser Versions - Chromium 133.0.6943.16 - Mozilla Firefox 134.0 - WebKit 18.2 This version was also tested against the following stable channels: - Google Chrome 132 - Microsoft Edge 132 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cedarjs/cedar). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlc2V0cy1vayIsInJlbGVhc2U6ZGVwZW5kZW5jeSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 62d4fd5 commit 3764076

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"@babel/runtime-corejs3": "7.27.6",
7979
"@faker-js/faker": "8.4.1",
8080
"@npmcli/arborist": "7.5.4",
81-
"@playwright/test": "1.49.1",
81+
"@playwright/test": "1.55.0",
8282
"@testing-library/jest-dom": "6.5.0",
8383
"@testing-library/react": "14.3.1",
8484
"@testing-library/user-event": "14.5.2",

packages/ogimage-gen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"devDependencies": {
5353
"@cedarjs/framework-tools": "workspace:*",
54-
"@playwright/test": "1.49.1",
54+
"@playwright/test": "1.55.0",
5555
"ts-toolbelt": "9.6.0",
5656
"tsx": "4.20.5",
5757
"typescript": "5.6.2",

yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3794,7 +3794,7 @@ __metadata:
37943794
"@cedarjs/project-config": "workspace:*"
37953795
"@cedarjs/router": "workspace:*"
37963796
"@cedarjs/web": "workspace:*"
3797-
"@playwright/test": "npm:1.49.1"
3797+
"@playwright/test": "npm:1.55.0"
37983798
fast-glob: "npm:3.3.3"
37993799
lodash: "npm:4.17.21"
38003800
react: "npm:19.0.0-rc-f2df5694-20240916"
@@ -8606,14 +8606,14 @@ __metadata:
86068606
languageName: node
86078607
linkType: hard
86088608

8609-
"@playwright/test@npm:1.49.1":
8610-
version: 1.49.1
8611-
resolution: "@playwright/test@npm:1.49.1"
8609+
"@playwright/test@npm:1.55.0":
8610+
version: 1.55.0
8611+
resolution: "@playwright/test@npm:1.55.0"
86128612
dependencies:
8613-
playwright: "npm:1.49.1"
8613+
playwright: "npm:1.55.0"
86148614
bin:
86158615
playwright: cli.js
8616-
checksum: 10c0/2fca0bb7b334f7a23c7c5dfa5dbe37b47794c56f39b747c8d74a2f95c339e7902a296f2f1dd32c47bdd723cfa92cee05219f1a5876725dc89a1871b9137a286d
8616+
checksum: 10c0/e68b59cd8271f1b57c0649fc0562ab2d5f6bba8c3653dd7bd52ca1338dc380fde34588d0254e3cd3f0f2b20af04a80dfb080419ceb7475990bb2fc4d8c474984
86178617
languageName: node
86188618
linkType: hard
86198619

@@ -26173,27 +26173,27 @@ __metadata:
2617326173
languageName: node
2617426174
linkType: hard
2617526175

26176-
"playwright-core@npm:1.49.1":
26177-
version: 1.49.1
26178-
resolution: "playwright-core@npm:1.49.1"
26176+
"playwright-core@npm:1.55.0":
26177+
version: 1.55.0
26178+
resolution: "playwright-core@npm:1.55.0"
2617926179
bin:
2618026180
playwright-core: cli.js
26181-
checksum: 10c0/990b619c75715cd98b2c10c1180a126e3a454b247063b8352bc67792fe01183ec07f31d30c8714c3768cefed12886d1d64ac06da701f2baafc2cad9b439e3919
26181+
checksum: 10c0/c39d6aa30e7a4e73965942ca5e13405ae05c9cb49f755a35f04248c864c0b24cf662d9767f1797b3ec48d1cf4e54774dce4a19c16534bd5cfd2aa3da81c9dc3a
2618226182
languageName: node
2618326183
linkType: hard
2618426184

26185-
"playwright@npm:1.49.1":
26186-
version: 1.49.1
26187-
resolution: "playwright@npm:1.49.1"
26185+
"playwright@npm:1.55.0":
26186+
version: 1.55.0
26187+
resolution: "playwright@npm:1.55.0"
2618826188
dependencies:
2618926189
fsevents: "npm:2.3.2"
26190-
playwright-core: "npm:1.49.1"
26190+
playwright-core: "npm:1.55.0"
2619126191
dependenciesMeta:
2619226192
fsevents:
2619326193
optional: true
2619426194
bin:
2619526195
playwright: cli.js
26196-
checksum: 10c0/2368762c898920d4a0a5788b153dead45f9c36c3f5cf4d2af5228d0b8ea65823e3bbe998877950a2b9bb23a211e4633996f854c6188769dc81a25543ac818ab5
26196+
checksum: 10c0/51605b7e57a5650e57972c5fdfc09d7a9934cca1cbee5beacca716fa801e25cb5bb7c1663de90c22b300fde884e5545a2b13a0505a93270b660687791c478304
2619726197
languageName: node
2619826198
linkType: hard
2619926199

@@ -28122,7 +28122,7 @@ __metadata:
2812228122
"@babel/runtime-corejs3": "npm:7.27.6"
2812328123
"@faker-js/faker": "npm:8.4.1"
2812428124
"@npmcli/arborist": "npm:7.5.4"
28125-
"@playwright/test": "npm:1.49.1"
28125+
"@playwright/test": "npm:1.55.0"
2812628126
"@testing-library/jest-dom": "npm:6.5.0"
2812728127
"@testing-library/react": "npm:14.3.1"
2812828128
"@testing-library/user-event": "npm:14.5.2"

0 commit comments

Comments
 (0)