Skip to content

Commit

Permalink
Bump @playwright/test from 1.45.3 to 1.46.0 in /integration (#7986)
Browse files Browse the repository at this point in the history
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 &quot;ref&quot;.</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 &quot;main&quot;
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>&lt;/tr&gt;&lt;/table&gt; 
</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
dependabot[bot] authored Aug 6, 2024
1 parent f460561 commit 8fd21b6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "playwright test --workers=1"
},
"dependencies": {
"@playwright/test": "^1.45.3",
"@playwright/test": "^1.46.0",
"axios": "^1.7.3"
},
"devDependencies": {
Expand Down
28 changes: 14 additions & 14 deletions integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# yarn lockfile v1


"@playwright/test@^1.45.3":
version "1.45.3"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.45.3.tgz#22e9c38b3081d6674b28c6e22f784087776c72e5"
integrity sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==
"@playwright/test@^1.46.0":
version "1.46.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.46.0.tgz#ccea6d22c40ee7fa567e4192fafbdf2a907e2714"
integrity sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==
dependencies:
playwright "1.45.3"
playwright "1.46.0"

asynckit@^0.4.0:
version "0.4.0"
Expand Down Expand Up @@ -66,17 +66,17 @@ mime-types@^2.1.12:
dependencies:
mime-db "1.52.0"

playwright-core@1.45.3:
version "1.45.3"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.45.3.tgz#e77bc4c78a621b96c3e629027534ee1d25faac93"
integrity sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==
playwright-core@1.46.0:
version "1.46.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.46.0.tgz#2336ac453a943abf0dc95a76c117f9d3ebd390eb"
integrity sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==

playwright@1.45.3:
version "1.45.3"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.45.3.tgz#75143f73093a6e1467f7097083d2f0846fb8dd2f"
integrity sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==
playwright@1.46.0:
version "1.46.0"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.46.0.tgz#c7ff490deae41fc1e814bf2cb62109dd9351164d"
integrity sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==
dependencies:
playwright-core "1.45.3"
playwright-core "1.46.0"
optionalDependencies:
fsevents "2.3.2"

Expand Down

0 comments on commit 8fd21b6

Please sign in to comment.