Skip to content

Commit da9e012

Browse files
Bump @playwright/test from 1.56.1 to 1.57.0 (#499)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.56.1 to 1.57.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases"><code>@​playwright/test</code>'s releases</a>.</em></p> <blockquote> <h2>v1.57.0</h2> <h2>Speedboard</h2> <p>In HTML reporter, there's a new tab we call &quot;Speedboard&quot;:</p> <!-- raw HTML omitted --> <p>It shows you all your executed tests sorted by slowness, and can help you understand where your test suite is taking longer than expected. Take a look at yours - maybe you'll find some tests that are spending a longer time waiting than they should!</p> <h2>Chrome for Testing</h2> <p>Starting with this release, Playwright switches from Chromium, to using <a href="https://developer.chrome.com/blog/chrome-for-testing/">Chrome for Testing</a> builds. Both headed and headless browsers are subject to this. Your tests should still be passing after upgrading to Playwright 1.57.</p> <p>We're expecting no functional changes to come from this switch. The biggest change is the new icon and title in your toolbar.</p> <!-- raw HTML omitted --> <p>If you still see an unexpected behaviour change, please <a href="https://github.com/microsoft/playwright/issues/new">file an issue</a>.</p> <p>On Arm64 Linux, Playwright continues to use Chromium.</p> <h2>Waiting for webserver output</h2> <p><a href="https://playwright.dev/docs/api/class-testconfig#test-config-web-server">testConfig.webServer</a> added a <code>wait</code> field. Pass a regular expression, and Playwright will wait until the webserver logs match it.</p> <pre lang="js"><code>import { defineConfig } from '@playwright/test'; <p>export default defineConfig({<br /> webServer: {<br /> command: 'npm run start',<br /> wait: {<br /> stdout: '/Listening on port (?&lt;my_server_port&gt;\d+)/'<br /> },<br /> },<br /> });<br /> </code></pre></p> <p>If you include a named capture group into the expression, then Playwright will provide the capture group contents via environment variables:</p> <pre lang="js"><code>import { test, expect } from '@playwright/test'; <p>test.use({ baseUrl: <code>http://localhost:${process.env.MY_SERVER_PORT ?? 3000}</code> });</p> <p>test('homepage', async ({ page }) =&gt; {<br /> await page.goto('/');<br /> });<br /> &lt;/tr&gt;&lt;/table&gt;<br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/80581972582c9565e141c5fedd3c5fa10cc0e38b"><code>8058197</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/38328">#38328</a>): docs: update 1.57 release notes</li> <li><a href="https://github.com/microsoft/playwright/commit/54818c59f107e73d610c7476b44dec4c7439c3dc"><code>54818c5</code></a> chore: mark 1.57.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/38320">#38320</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/414c4f5e0a507ea94c3ff4a5924bbda1a7665d50"><code>414c4f5</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/38301">#38301</a>): fix(android): dont pass &quot;--disable-sync&quot; (<a href="https://redirect.github.com/microsoft/playwright/issues/38301">#38301</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/ae3da48f794ac21ec818e15fe3db8cd658f04936"><code>ae3da48</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/38124">#38124</a>): feat(firefox): roll to latest firefox and firefox-beta (...</li> <li><a href="https://github.com/microsoft/playwright/commit/375697850f9a21565bf284a0f02188e4d13dd197"><code>3756978</code></a> chore: fix lint warning about useEffect (<a href="https://redirect.github.com/microsoft/playwright/issues/38285">#38285</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/019900fd24d8a9cc9fce986a2c2fb0c7e03c9408"><code>019900f</code></a> chore: update browser_patches (<a href="https://redirect.github.com/microsoft/playwright/issues/38286">#38286</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/483b7222563c4af5ef7214db9dd356bbce489826"><code>483b722</code></a> docs: 1.57 release notes (<a href="https://redirect.github.com/microsoft/playwright/issues/38267">#38267</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/46d5ea0f82c3ff557f60a89a45ba3e16f8c78658"><code>46d5ea0</code></a> Revert &quot;feat: add request.body async getters (<a href="https://redirect.github.com/microsoft/playwright/issues/38179">#38179</a>)&quot; (<a href="https://redirect.github.com/microsoft/playwright/issues/38281">#38281</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/0778fcf61e932f1087ea2ea05792e14b546d9f8a"><code>0778fcf</code></a> chore: hide run-server command (<a href="https://redirect.github.com/microsoft/playwright/issues/38277">#38277</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/bf6a60fd92c8c3b4afa08837aa8bbcd44f50c95e"><code>bf6a60f</code></a> chore: default to ubuntu 24.04 for unsupported distros (<a href="https://redirect.github.com/microsoft/playwright/issues/38269">#38269</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.56.1...v1.57.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@playwright/test&package-manager=npm_and_yarn&previous-version=1.56.1&new-version=1.57.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 972e01d commit da9e012

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
},
321321
"devDependencies": {
322322
"@biomejs/biome": "^2.3.8",
323-
"@playwright/test": "^1.56.1",
323+
"@playwright/test": "^1.57.0",
324324
"@types/mocha": "^10.0.10",
325325
"@types/node": "^24.10.1",
326326
"@types/semver": "^7.7.1",

0 commit comments

Comments
 (0)