dependabot[bot] opened a new pull request, #41327: URL: https://github.com/apache/superset/pull/41327
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.60.0 to 1.61.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">@playwright/test's releases</a>.</em></p> <blockquote> <h2>v1.61.0</h2> <h2>🔑 WebAuthn passkeys</h2> <p>New <a href="https://playwright.dev/docs/api/class-credentials">Credentials</a> virtual authenticator, available via <a href="https://playwright.dev/docs/api/class-browsercontext#browser-context-credentials">browserContext.credentials</a>, lets tests register passkeys and answer <code>navigator.credentials.create()</code> / <code>navigator.credentials.get()</code> ceremonies in the page — no real hardware key required, works in all browsers:</p> <pre lang="js"><code>const context = await browser.newContext(); <p>// Seed a passkey your backend provisioned for a test user.<br /> await context.credentials.create('example.com', {<br /> id: credentialId,<br /> userHandle,<br /> privateKey,<br /> publicKey,<br /> });<br /> await context.credentials.install();</p> <p>const page = await context.newPage();<br /> await page.goto('<a href="https://example.com/login">https://example.com/login</a>');<br /> // The page's navigator.credentials.get() is answered with the seeded passkey.<br /> </code></pre></p> <p>You can also let the app register a passkey once in a setup test, read it back with <a href="https://playwright.dev/docs/api/class-credentials#credentials-get">credentials.get()</a>, and seed it into later tests — see <a href="https://playwright.dev/docs/api/class-credentials">Credentials</a> for details.</p> <h2>🗃️ Web Storage</h2> <p>New <a href="https://playwright.dev/docs/api/class-webstorage">WebStorage</a> API, available via <a href="https://playwright.dev/docs/api/class-page#page-local-storage">page.localStorage</a> and <a href="https://playwright.dev/docs/api/class-page#page-session-storage">page.sessionStorage</a>, reads and writes the page's storage for the current origin:</p> <pre lang="js"><code>await page.localStorage.setItem('token', 'abc'); const token = await page.localStorage.getItem('token'); const items = await page.sessionStorage.items(); </code></pre> <h2>New APIs</h2> <h3>Network</h3> <ul> <li><a href="https://playwright.dev/docs/api/class-apiresponse#api-response-security-details">apiResponse.securityDetails()</a> and <a href="https://playwright.dev/docs/api/class-apiresponse#api-response-server-addr">apiResponse.serverAddr()</a> mirror the browser-side <a href="https://playwright.dev/docs/api/class-response#response-security-details">response.securityDetails()</a> and <a href="https://playwright.dev/docs/api/class-response#response-server-addr">response.serverAddr()</a>.</li> </ul> <h3>Browser and Screencast</h3> <ul> <li>New option <code>artifactsDir</code> in <a href="https://playwright.dev/docs/api/class-browsertype#browser-type-connect-over-cdp">browserType.connectOverCDP()</a> controls where artifacts such as traces and downloads are stored when attached to an existing browser.</li> <li>New option <code>cursor</code> in <a href="https://playwright.dev/docs/api/class-screencast#screencast-show-actions">screencast.showActions()</a> controls the cursor decoration rendered for pointer actions.</li> <li>The <code>onFrame</code> callback in <a href="https://playwright.dev/docs/api/class-screencast#screencast-start">screencast.start()</a> now receives a <code>timestamp</code> of when the frame was presented by the browser.</li> </ul> <h3>Test runner</h3> <ul> <li>The <a href="https://playwright.dev/docs/api/class-testoptions#test-options-video">testOptions.video</a> option now supports the same set of modes as <code>trace</code>: new <code>'on-all-retries'</code>, <code>'retain-on-first-failure'</code> and <code>'retain-on-failure-and-retries'</code> values. See the <a href="https://playwright.dev/docs/test-use-options#video-modes">video modes table</a> for which runs are recorded and kept in each mode.</li> <li>Supported <code>expect.soft.poll(...)</code>.</li> <li>New <a href="https://playwright.dev/docs/api/class-fullconfig#full-config-argv">fullConfig.argv</a> — a snapshot of <code>process.argv</code> from the runner process, handy for reading custom arguments passed after the <code>--</code> separator.</li> <li>New <a href="https://playwright.dev/docs/api/class-fullconfig#full-config-fail-on-flaky-tests">fullConfig.failOnFlakyTests</a> mirrors the config option, so reporters can explain why a flaky run failed.</li> <li><a href="https://playwright.dev/docs/api/class-testinfo#test-info-errors">testInfo.errors</a> now lists each sub-error of an <code>AggregateError</code> as a separate entry.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/1cc5a90cfa3eaa430b1a991963100f95126caa47"><code>1cc5a90</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41295">#41295</a>): chore: PLAYWRIGHT_TRACING_NO_WEBSOCKET_FRAMES and PLAYWR...</li> <li><a href="https://github.com/microsoft/playwright/commit/a6772bdede34028cbbd417a3b3d778801899e870"><code>a6772bd</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41280">#41280</a>): Revert "fix(trace-viewer): add keyboard navigation to `N...</li> <li><a href="https://github.com/microsoft/playwright/commit/8133dcf97d52818d36022ed37797a616ff6cb934"><code>8133dcf</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41283">#41283</a>): docs: add Ubuntu 26.04 and Node.js 26.x to system requir...</li> <li><a href="https://github.com/microsoft/playwright/commit/812432e070afec9e44d22e95915f975965b7d5b7"><code>812432e</code></a> chore: mark v1.61.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/41277">#41277</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/ac05145c8d9eb1303c8f3bfd4d860b6d1ca261ae"><code>ac05145</code></a> fix(fetch): report serverAddr and securityDetails for reused sockets (<a href="https://redirect.github.com/microsoft/playwright/issues/41267">#41267</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/056efc9f5c0a870d0944e53a835d6283a77f200f"><code>056efc9</code></a> fix(trace-viewer): add keyboard navigation to <code>NetworkFilters</code> component (<a href="https://redirect.github.com/microsoft/playwright/issues/41">#41</a>...</li> <li><a href="https://github.com/microsoft/playwright/commit/41f7b9a0db0d1ada12ff0d9244393eea8f81b796"><code>41f7b9a</code></a> chore: fixes uncovered by the .NET 1.61 roll (<a href="https://redirect.github.com/microsoft/playwright/issues/41266">#41266</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/ba507783ae48724a1882f6423d8e8ec208bf366a"><code>ba50778</code></a> fix(mcp): assign caps as array for legacy --vision flag (<a href="https://redirect.github.com/microsoft/playwright/issues/41253">#41253</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/b8ee5ae27fd068e3744852209dfcb5c1a142909f"><code>b8ee5ae</code></a> docs: release notes for v1.61 (<a href="https://redirect.github.com/microsoft/playwright/issues/41261">#41261</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/49c1f694c9bc06c9d1f6966afe8b6dfd4f388b3e"><code>49c1f69</code></a> fix(trace viewer): load trace from a local file (<a href="https://redirect.github.com/microsoft/playwright/issues/41263">#41263</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.60.0...v1.61.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
