[PR #16] [CLOSED] PR 16: build(deps-dev): bump @playwright/test from 1.45.3 to 1.46.0 #194

Closed
opened 2026-03-13 17:40:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Aetherinox/ntfy-desktop/pull/16
Author: @dependabot[bot]
Created: 8/6/2024
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/playwright/test-1.46.0


📝 Commits (1)

  • cc54cc9 build(deps-dev): bump @playwright/test from 1.45.3 to 1.46.0

📊 Changes

2 files changed (+13 additions, -17 deletions)

View changed files

📝 package-lock.json (+12 -16)
📝 package.json (+1 -1)

📄 Description

Bumps @playwright/test from 1.45.3 to 1.46.0.

Release notes

Sourced from @​playwright/test's releases.

v1.46.0

TLS Client Certificates

Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.

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.

The following snippet sets up a client certificate for https://example.com:

import { defineConfig } from '@playwright/test';

export default defineConfig({
// ...
use: {
clientCertificates: [{
origin: 'https://example.com',
certPath: './cert.pem',
keyPath: './key.pem',
passphrase: 'mysecretpassword',
}],
},
// ...
});

You can also provide client certificates to a particular test project or as a parameter of browser.newContext() and apiRequest.newContext().

--only-changed cli option

New CLI option --only-changed allows to only run test files that have been changed since the last git commit or from a specific git "ref".

# Only run test files with uncommitted changes
npx playwright test --only-changed

Only run test files changed relative to the "main" branch

npx playwrigh test --only-changed=main

Component Testing: New router fixture

This release introduces an experimental router fixture to intercept and handle network requests in component testing. There are two ways to use the router fixture:

  • Call router.route(url, handler) that behaves similarly to page.route().
  • Call router.use(handlers) and pass MSW library request handlers to it.

Here is an example of reusing your existing MSW handlers in the test.

</tr></table> 

... (truncated)

Commits
  • 99a3631 chore: mark v1.46 (#32013)
  • 929fef3 cherry-pick(#32012): chore(lint): bump Microsoft.CodeAnalysis for linting cod...
  • cf31aa8 cherry-pick(#32008): chore(client-certificates): rewrite error for unsupporte...
  • ed9b4d9 cherry-pick(#32007): fix(client-certificates): report error to the browser if...
  • fca1fa0 cherry-pick(#31973): chore: run client-certificate tests in service mode
  • ff11273 cherry-pick(#32010): docs: release notes for 1.46 update
  • 4953ac3 cherry-pick(#31975): chore: remove bright counter from sidebar tab se… (#31976)
  • 4c66f8a cherry-pick(#31970): fix(trace): do not place expect into unfinished … (#31974)
  • deba37b cherry-pick(#31960): feat(ui mode): linkify attachment names and content (#31...
  • 2cfe733 cherry-pick(#31961): fix(trace-viewer): make 'hide route actions' work for .NET
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Aetherinox/ntfy-desktop/pull/16 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/6/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/playwright/test-1.46.0` --- ### 📝 Commits (1) - [`cc54cc9`](https://github.com/Aetherinox/ntfy-desktop/commit/cc54cc9647b6fd4b5d23b7b9e81b2415cd98ec34) build(deps-dev): bump @playwright/test from 1.45.3 to 1.46.0 ### 📊 Changes **2 files changed** (+13 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+12 -16) 📝 `package.json` (+1 -1) </details> ### 📄 Description 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 17:40:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy-desktop#194
No description provided.