keystonejs / create-keystone-app

CLI app that makes it easy to get started with Keystone
https://keystonejs.com/tutorials/getting-started-with-create-keystone-next-app
MIT License
40 stars 10 forks source link

Update dependency playwright to ^1.23.4 #297

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
playwright (source) ^1.19.2 -> ^1.23.4 age adoption passing confidence

Release Notes

Microsoft/playwright ### [`v1.23.4`](https://togithub.com/microsoft/playwright/releases/tag/v1.23.4) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.23.3...v1.23.4) #### Highlights This patch includes the following bug fix: [https://github.com/microsoft/playwright/issues/15717](https://togithub.com/microsoft/playwright/issues/15717) - \[REGRESSION]: Suddenly stopped working despite nothing having changed (`experimentalLoader.js:load` did not call the next hook in its chain and did not explicitly signal a short circuit) #### Browser Versions - Chromium 104.0.5112.20 - Mozilla Firefox 100.0.2 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 103 - Microsoft Edge 103 ### [`v1.23.3`](https://togithub.com/microsoft/playwright/releases/tag/v1.23.3) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.23.2...v1.23.3) #### Highlights This patch includes the following bug fixes: [https://github.com/microsoft/playwright/issues/15557](https://togithub.com/microsoft/playwright/issues/15557) - \[REGRESSION]: Event Listeners not being removed if same handler is used for different events #### Browser Versions - Chromium 104.0.5112.20 - Mozilla Firefox 100.0.2 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 103 - Microsoft Edge 103 ### [`v1.23.2`](https://togithub.com/microsoft/playwright/releases/tag/v1.23.2) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.23.1...v1.23.2) #### Highlights This patch includes the following bug fixes: [https://github.com/microsoft/playwright/issues/15273](https://togithub.com/microsoft/playwright/issues/15273) - \[BUG] LaunchOptions config has no effect after update to v1.23.0[https://github.com/microsoft/playwright/issues/15351](https://togithub.com/microsoft/playwright/issues/15351)1 - \[REGRESSION]: Component testing project does not compile anymor[https://github.com/microsoft/playwright/issues/15431](https://togithub.com/microsoft/playwright/issues/15431)31 - \[BUG] Regression: page.on('console') is ignored in 1.23 #### Browser Versions - Chromium 104.0.5112.20 - Mozilla Firefox 100.0.2 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 103 - Microsoft Edge 103 ### [`v1.23.1`](https://togithub.com/microsoft/playwright/releases/tag/v1.23.1) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.23.0...v1.23.1) #### Highlights This patch includes the following bug fixes: [https://github.com/microsoft/playwright/issues/15219](https://togithub.com/microsoft/playwright/issues/15219) - \[REGRESSION]: playwright-core 1.23.0 issue with 'TypeError \[ERR_INVALID_ARG_TYPE]: The "listener" argument' #### Browser Versions - Chromium 104.0.5112.20 - Mozilla Firefox 100.0.2 - WebKit 15.4 This version was also tested against the following stable channels: - Google Chrome 103 - Microsoft Edge 103 ### [`v1.23.0`](https://togithub.com/microsoft/playwright/releases/tag/v1.23.0) [Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.22.2...v1.23.0) Playwright v1.23 updates #### Network Replay Now you can record network traffic into a HAR file and re-use the data in your tests. To record network into HAR file: ```bash npx playwright open --save-har=github.har.zip https://github.com/microsoft ``` Alternatively, you can record HAR programmatically: ```ts const context = await browser.newContext({ recordHar: { path: 'github.har.zip' } }); // ... do stuff ... await context.close(); ``` Use the new methods [`page.routeFromHAR()`](https://playwright.dev/docs/api/class-page#page-route-from-har) or [`browserContext.routeFromHAR()`](https://playwright.dev/docs/api/class-browsercontext#browser-context-route-from-har) to serve matching responses from the [HAR](http://www.softwareishard.com/blog/har-12-spec/) file: ```ts await context.routeFromHAR('github.har.zip'); ``` Read more in [our documentation](https://playwright.dev/docs/network#record-and-replay-requests). ##### Advanced Routing You can now use [`route.fallback()`](https://playwright.dev/docs/api/class-route#route-fallback) to defer routing to other handlers. Consider the following example: ```ts // Remove a header from all requests. test.beforeEach(async ({ page }) => { await page.route('**/*', route => { const headers = route.request().headers(); delete headers['if-none-match']; route.fallback({ headers }); }); }); test('should work', async ({ page }) => { await page.route('**/*', route => { if (route.request().resourceType() === 'image') route.abort(); else route.fallback(); }); }); ``` Note that the new methods [`page.routeFromHAR()`](https://playwright.dev/docs/api/class-page#page-route-from-har) and [`browserContext.routeFromHAR()`](https://playwright.dev/docs/api/class-browsercontext#browser-context-route-from-har) also participate in routing and could be deferred to. ##### Web-First Assertions Update - New method [`expect(locator).toHaveValues()`](https://playwright.dev/docs/test-assertions#locator-assertions-to-have-values) that asserts all selected values of `