pkg: Update playwright monorepo to v1.60.0 - #3962
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
|
Size Change: 0 B Total Size: 81.1 kB ℹ️ View Unchanged
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3962 +/- ##
=======================================
Coverage 98.21% 98.21%
=======================================
Files 154 154
Lines 3024 3024
Branches 601 601
=======================================
Hits 2970 2970
Misses 11 11
Partials 43 43 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Benchmark React
Details
| Benchmark suite | Current: 49873df | Previous: b1d7111 | Ratio |
|---|---|---|---|
data-client: getlist-100 |
144.93 ops/s (± 4.9%) |
136.99 ops/s (± 4.3%) |
0.95 |
data-client: getlist-500 |
41.15 ops/s (± 5.6%) |
41.93 ops/s (± 4.7%) |
1.02 |
data-client: update-entity |
400 ops/s (± 11.2%) |
400 ops/s (± 10.1%) |
1 |
data-client: update-user |
344.83 ops/s (± 7.9%) |
370.37 ops/s (± 7.8%) |
1.07 |
data-client: getlist-500-sorted |
44.94 ops/s (± 8.9%) |
40.74 ops/s (± 9.1%) |
0.91 |
data-client: update-entity-sorted |
333.33 ops/s (± 6.6%) |
370.37 ops/s (± 7.1%) |
1.11 |
data-client: update-entity-multi-view |
416.67 ops/s (± 5.0%) |
370.37 ops/s (± 7.4%) |
0.89 |
data-client: list-detail-switch-10 |
7.79 ops/s (± 8.4%) |
8.35 ops/s (± 10.7%) |
1.07 |
data-client: update-user-10000 |
72.2 ops/s (± 13.8%) |
89.29 ops/s (± 11.7%) |
1.24 |
data-client: invalidate-and-resolve |
38.02 ops/s (± 5.6%) |
35.09 ops/s (± 5.1%) |
0.92 |
data-client: unshift-item |
232.56 ops/s (± 5.1%) |
238.1 ops/s (± 4.2%) |
1.02 |
data-client: delete-item |
298.57 ops/s (± 4.6%) |
303.03 ops/s (± 5.3%) |
1.01 |
data-client: move-item |
172.41 ops/s (± 9.3%) |
181.82 ops/s (± 10.0%) |
1.05 |
This comment was automatically generated by workflow using github-action-benchmark.
This PR contains the following updates:
1.59.1→1.60.01.59.1→1.60.0Release Notes
microsoft/playwright (@playwright/test)
v1.60.0Compare Source
🌐 HAR recording on Tracing
tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same
content,modeandurlFilteroptions asrecordHar. The returned Disposable makes it easy to scope a recording withawait using:🪝 Drop API
New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches
dragenter,dragover, anddropwith a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:🎯 Aria snapshots
page.locator('body').boxesoption on locator.ariaSnapshot() / page.ariaSnapshot() appends each element's bounding box as[box=x,y,width,height], useful for AI consumption.🛑 test.abort()
New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:
New APIs
Browser, Context and Page
Locators and Assertions
descriptionin page.getByRole() / locator.getByRole() / frame.getByRole() / frameLocator.getByRole() for matching the accessible description.pseudoin expect(locator).toHaveCSS() reads computed styles from::beforeor::after.stylein locator.highlight() applies extra inline CSS to the highlight overlay, plus new page.hideHighlight() to clear all highlights.Network
noDefaultsin browserType.connectOverCDP() disables Playwright's default overrides on the default context (download behavior, focus emulation, media emulation), so attaching to a user's daily-driver browser doesn't disturb its state.Errors and Reporting
line/columnproperties (lineNumber/columnNumberare deprecated).expect(...)matcher failure.workerInfoargument with details about the worker for fixture teardown errors.Test runner
{testFileBaseName}token in testProject.snapshotPathTemplate — file name without extension.workers: 0or negative values.🛠️ Other improvements
npx playwright show-reportaccepts.zipfiles directly — no need to unzip first.repeatEachIndexis shown in the test header when non-zero.Breaking Changes⚠️
Locator.ariaRef()— use the standard locator.ariaSnapshot() pipeline.handleoption onBrowserContext.exposeBindingandPage.exposeBinding.loggeroption onBrowserType.connectandBrowserType.connectOverCDP— use tracing instead.videosPath/videoSize— userecordVideoinstead.Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: (in timezone America/Chicago)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.