Option animations: "disabled" rewinds all CSS animations and transitions to a consistent state.
Option mask: Locator[] masks given elements, overlaying them with pink #FF00FF boxes.
expect().toMatchSnapshot() now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one
automatically:
expect('Web is Awesome <3').toMatchSnapshot();
New maxDiffPixels and maxDiffPixelRatio options for fine-grained screenshot comparison using expect().toMatchSnapshot():
expect(await page.screenshot()).toMatchSnapshot({
maxDiffPixels: 27, // allow no more than 27 different pixels.
});
It is most convenient to specify maxDiffPixels or maxDiffPixelRatio once in TestConfig.expect.
Playwright Test now adds TestConfig.fullyParallel mode. By default, Playwright Test parallelizes between files. In fully parallel mode, tests inside a single file are also run in parallel. You can also use --fully-parallel command line flag.
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 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 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)
Bumps playwright from 1.18.1 to 1.20.1.
Release notes
Sourced from playwright's releases.
... (truncated)
Commits
18de7bd
cherry-pick(#12992): chore: disable Chromium CertificateTransparencyComponent...cfa7f13
cherry-pick(#12946): fix: upgrade json5 dependency (#12956)8e98b44
chore: mark v1.20.1 (#12935)0093e8a
cherry-pick(#12934): allow toMatchSnapshot to use text comparator for text da...c090a55
cherry-pick(#12892): docs(fetch): clarify cookie handling (#12931)1b0087e
cherry-pick(#12888): fix(click): workaround elementsFromPoint issue in Chromi...ef40d21
cherry-pick(#12899): chore: make count() work with _vue selectors39abfd6
cherry-pick(#12864): chore: fix modification dates in driver (#12875)f2bdeb2
cherry-pick(#12820): chore: restore expect.any()/expect.anything() (#12849)78f8852
cherry-pick(#12837): fix: folder traversal for isModule checkDependabot 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 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 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)