chore(deps): update dependency @playwright/test to v1.20.0 #4757
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.19.2
->1.20.0
Release Notes
Microsoft/playwright
v1.20.0
Compare Source
Highlights
New options for methods
page.screenshot()
,locator.screenshot()
andelementHandle.screenshot()
:animations: "disabled"
rewinds all CSS animations and transitions to a consistent state.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 oneautomatically:
New
maxDiffPixels
andmaxDiffPixelRatio
options for fine-grained screenshot comparison usingexpect().toMatchSnapshot()
:It is most convenient to specify
maxDiffPixels
ormaxDiffPixelRatio
once inTestConfig.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.TestProject.grep
andTestProject.grepInvert
are now configurable per project. For example, you can nowconfigure smoke tests project using
grep
:Trace Viewer now shows API testing requests.
locator.highlight()
visually reveals element(s) for easier debugging.Announcements
mcr.microsoft.com/playwright/python
. Please switch over to it if you use Python. This is the last release that includes Python inside our javascriptmcr.microsoft.com/playwright
docker image.Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.