Bump playwright from 1.23.1 to 1.34.0 in /browser
Bumps playwright from 1.23.1 to 1.34.0.
Release notes
Sourced from playwright's releases.
v1.34.0
Highlights
UI Mode now shows steps, fixtures and attachments:
New property
testProject.teardown
to specify a project that needs to run after this and all dependent projects have finished. Teardown is useful to cleanup any resources acquired by this project.A common pattern would be a
setup
dependency with a correspondingteardown
:// playwright.config.ts import { defineConfig } from '@playwright/test'; export default defineConfig({ projects: [ { name: 'setup', testMatch: /global.setup.ts/, teardown: 'teardown', }, { name: 'teardown', testMatch: /global.teardown.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 method
expect.configure
to create pre-configured expect instance with its own defaults such astimeout
andsoft
.const slowExpect = expect.configure({ timeout: 10000 }); await slowExpect(locator).toHaveText('Submit'); // Always do soft assertions. const softExpect = expect.configure({ soft: true });
... (truncated)
Commits
-
4aee014
chore: mark 1.34.0 (#23123) -
bf25a93
cherry-pick(#23171): fix(tracing): when zipping remotely, use correct file na... -
7effaf4
cherry-pick(#23166): chore: fix file view padding -
ef18287
cherry-pick(#23165): docs: update release notes -
552cba8
cherry-pick(#23148): chore: do not annotate actions after failed ones as time... -
cd94a3f
cherry-pick(#23144): feat(connect):pw:server:channel
andpw:socks
debug ... -
3543a74
cherry-pick(#23140): docs: add dialog/consoleMessage helper methods for langu... -
7196f82
cherry-pick(#23143): test: add attachment tests -
32c247b
cherry-pick(#23139): chore: opt out of trace attachments -
c551cce
cherry-pick(#23130): feat(chromium): roll to r1064 (#23132) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts