Bump playwright from 1.23.1 to 1.28.0 in /browser
Bumps playwright from 1.23.1 to 1.28.0.
Release notes
Sourced from playwright's releases.
v1.28
Playwright Tools
- Record at Cursor in VSCode. You can run the test, position the cursor at the end of the test and continue generating the test.
- Live Locators in VSCode. You can hover and edit locators in VSCode to get them highlighted in the opened browser.
- Live Locators in CodeGen. Generate a locator for any element on the page using "Explore" tool.
- Codegen and Trace Viewer Dark Theme. Automatically picked up from operating system settings.
Test Runner
Configure retries and test timeout for a file or a test with
test.describe.configure([options])
.// Each test in the file will be retried twice and have a timeout of 20 seconds. test.describe.configure({ retries: 2, timeout: 20_000 }); test('runs first', async ({ page }) => {}); test('runs second', async ({ page }) => {});
Use
testProject.snapshotPathTemplate
andtestConfig.snapshotPathTemplate
to configure a template controlling location of snapshots generated byexpect(page).toHaveScreenshot(name[, options])
andexpect(screenshot).toMatchSnapshot(name[, options])
.// playwright.config.ts import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', snapshotPathTemplate: '{testDir}/screenshots/{testFilePath}/{arg}{ext}', }; export default config;
New APIs
locator.blur([options])
locator.clear([options])
android.launchServer([options])
andandroid.connect(wsEndpoint[, options])
androidDevice.on('close')
Browser Versions
... (truncated)
Commits
-
8f9bf0f
cherry-pick(#18818): chore: multiply overloaded options in csharp -
c3335e4
cherry-pick(#18799): chore: allowpy
code blocks for python -
5459be0
cherry-pick(#18768): chore: verify tab groups in docs during lint (#18837) -
553a211
cherry-pick(#18832): docs: remove images from locators.md -
f7087bf
cherry-pick(#18830): chore: update WebKit browser version to 16.4 (#18831) -
2720c72
chore: mark 1.28.0 (#18754) -
7431471
cherry-pick(#18802): doc: version 1.28 release notes (#18829) -
ba1a1bd
cherry-pick(#18819): fix(locators): frameLocator().nth serialized correctly -
09c2d89
cherry-pick(#18822): chore(electron): filter test args out -
e20be6c
cherry-pick(#18804): fix(electron): stall node while browser is starting - 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