chore(deps-dev): bump playwright from 1.55.1 to 1.57.0
Bumps playwright from 1.55.1 to 1.57.0.
Release notes
Sourced from playwright's releases.
v1.57.0
Speedboard
In HTML reporter, there's a new tab we call "Speedboard":
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!
Chrome for Testing
Starting with this release, Playwright switches from Chromium, to using Chrome for Testing builds. Both headed and headless browsers are subject to this. Your tests should still be passing after upgrading to Playwright 1.57.
We're expecting no functional changes to come from this switch. The biggest change is the new icon and title in your toolbar.
If you still see an unexpected behaviour change, please file an issue.
On Arm64 Linux, Playwright continues to use Chromium.
Waiting for webserver output
testConfig.webServer added a
waitfield. Pass a regular expression, and Playwright will wait until the webserver logs match it.import { defineConfig } from '@playwright/test';export default defineConfig({ webServer: { command: 'npm run start', wait: { stdout: '/Listening on port (?<my_server_port>\d+)/' }, }, });
If you include a named capture group into the expression, then Playwright will provide the capture group contents via environment variables:
import { test, expect } from '@playwright/test';test.use({ baseUrl:
http://localhost:${process.env.MY_SERVER_PORT ?? 3000}});test('homepage', async ({ page }) => { await page.goto('/'); }); </tr></table>
... (truncated)
Commits
8058197cherry-pick(#38328): docs: update 1.57 release notes54818c5chore: mark 1.57.0 (#38320)414c4f5cherry-pick(#38301): fix(android): dont pass "--disable-sync" (#38301)ae3da48cherry-pick(#38124): feat(firefox): roll to latest firefox and firefox-beta (...3756978chore: fix lint warning about useEffect (#38285)019900fchore: update browser_patches (#38286)483b722docs: 1.57 release notes (#38267)46d5ea0Revert "feat: add request.body async getters (#38179)" (#38281)0778fcfchore: hide run-server command (#38277)bf6a60fchore: default to ubuntu 24.04 for unsupported distros (#38269)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for playwright since your current version.
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)