Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @playwright/test from 1.45.3 to 1.46.0 in /integration (#7986)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.45.3 to 1.46.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases"><code>@playwright/test</code>'s releases</a>.</em></p> <blockquote> <h2>v1.46.0</h2> <h2>TLS Client Certificates</h2> <p>Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.</p> <p>When client certificates are specified, all browser traffic is routed through a proxy that establishes the secure TLS connection, provides client certificates to the server and validates server certificates.</p> <p>The following snippet sets up a client certificate for <code>https://example.com</code>:</p> <pre lang="ts"><code>import { defineConfig } from '@playwright/test'; <p>export default defineConfig({<br /> // ...<br /> use: {<br /> clientCertificates: [{<br /> origin: 'https://example.com',<br /> certPath: './cert.pem',<br /> keyPath: './key.pem',<br /> passphrase: 'mysecretpassword',<br /> }],<br /> },<br /> // ...<br /> });<br /> </code></pre></p> <p>You can also provide client certificates to a particular <a href="https://playwright.dev/docs/api/class-testproject#test-project-use">test project</a> or as a parameter of <a href="https://playwright.dev/docs/api/class-browser#browser-new-context">browser.newContext()</a> and <a href="https://playwright.dev/docs/api/class-apirequest#api-request-new-context">apiRequest.newContext()</a>.</p> <h2><code>--only-changed</code> cli option</h2> <p>New CLI option <code>--only-changed</code> allows to only run test files that have been changed since the last git commit or from a specific git "ref".</p> <pre lang="sh"><code># Only run test files with uncommitted changes npx playwright test --only-changed <h1>Only run test files changed relative to the "main" branch</h1> <p>npx playwrigh test --only-changed=main<br /> </code></pre></p> <h2>Component Testing: New <code>router</code> fixture</h2> <p>This release introduces an experimental <code>router</code> fixture to intercept and handle network requests in component testing. There are two ways to use the router fixture:</p> <ul> <li>Call <code>router.route(url, handler)</code> that behaves similarly to <a href="https://playwright.dev/docs/api/class-page#page-route">page.route()</a>.</li> <li>Call <code>router.use(handlers)</code> and pass <a href="https://mswjs.io">MSW library</a> request handlers to it.</li> </ul> <p>Here is an example of reusing your existing MSW handlers in the test.</p> <pre lang="ts"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/99a36310570617222290c09b96a2026beb8b00f9"><code>99a3631</code></a> chore: mark v1.46 (<a href="https://redirect.github.com/microsoft/playwright/issues/32013">#32013</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/929fef348e30fa2efc8965a8a9e462453520d3e5"><code>929fef3</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/32012">#32012</a>): chore(lint): bump Microsoft.CodeAnalysis for linting cod...</li> <li><a href="https://github.com/microsoft/playwright/commit/cf31aa8b4c87cff318204c0e7cbe8e0475042828"><code>cf31aa8</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/32008">#32008</a>): chore(client-certificates): rewrite error for unsupporte...</li> <li><a href="https://github.com/microsoft/playwright/commit/ed9b4d9b9a1a0df397334b77dab7d5a52af53d07"><code>ed9b4d9</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/32007">#32007</a>): fix(client-certificates): report error to the browser if...</li> <li><a href="https://github.com/microsoft/playwright/commit/fca1fa0b95a3af581bd6e64bd9e08a638b750bbe"><code>fca1fa0</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/31973">#31973</a>): chore: run client-certificate tests in service mode</li> <li><a href="https://github.com/microsoft/playwright/commit/ff11273c7baf47b36945800e26fad96e5425c321"><code>ff11273</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/32010">#32010</a>): docs: release notes for 1.46 update</li> <li><a href="https://github.com/microsoft/playwright/commit/4953ac3072ed3c54fdc65981537952319560f975"><code>4953ac3</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/31975">#31975</a>): chore: remove bright counter from sidebar tab se… (<a href="https://redirect.github.com/microsoft/playwright/issues/31976">#31976</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/4c66f8aeda171df73a249f0d6ef4ef41f7f71084"><code>4c66f8a</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/31970">#31970</a>): fix(trace): do not place expect into unfinished … (<a href="https://redirect.github.com/microsoft/playwright/issues/31974">#31974</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/deba37b6b5b130e4d6f1373c19d14c1d71ad3f43"><code>deba37b</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/31960">#31960</a>): feat(ui mode): linkify attachment names and content (<a href="https://redirect.github.com/microsoft/playwright/issues/31">#31</a>...</li> <li><a href="https://github.com/microsoft/playwright/commit/2cfe733e30e0909678d28f71f350590c0c112b44"><code>2cfe733</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/31961">#31961</a>): fix(trace-viewer): make 'hide route actions' work for .NET</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.45.3...v1.46.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@playwright/test&package-manager=npm_and_yarn&previous-version=1.45.3&new-version=1.46.0)](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 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 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information