Skip to content

Commit

Permalink
Bump @playwright/test from 1.42.1 to 1.43.1 in the playwright group (#…
Browse files Browse the repository at this point in the history
…131)

Bumps the playwright group with 1 update:
[@playwright/test](https://github.com/microsoft/playwright).

Updates `@playwright/test` from 1.42.1 to 1.43.1
<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.43.1</h2>
<h3>Highlights</h3>
<p><a
href="https://redirect.github.com/microsoft/playwright/issues/30300">microsoft/playwright#30300</a>
- [REGRESSION]: UI mode restarts if keep storage state
<a
href="https://redirect.github.com/microsoft/playwright/issues/30339">microsoft/playwright#30339</a>
- [REGRESSION]: Brand new install of playwright, unable to run chromium
with show browser using vscode</p>
<h3>Browser Versions</h3>
<ul>
<li>Chromium 124.0.6367.29</li>
<li>Mozilla Firefox 124.0</li>
<li>WebKit 17.4</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 123</li>
<li>Microsoft Edge 123</li>
</ul>
<h2>v1.43.0</h2>
<h2>New APIs</h2>
<ul>
<li>
<p>Method <a
href="https://playwright.dev/docs/api/class-browsercontext#browser-context-clear-cookies">browserContext.clearCookies()</a>
now supports filters to remove only some cookies.</p>
<pre lang="js"><code>// Clear all cookies.
await context.clearCookies();
// New: clear cookies with a particular name.
await context.clearCookies({ name: 'session-id' });
// New: clear cookies for a particular domain.
await context.clearCookies({ domain: 'my-origin.com' });
</code></pre>
</li>
<li>
<p>New mode <code>retain-on-first-failure</code> for <a
href="https://playwright.dev/docs/api/class-testoptions#test-options-trace">testOptions.trace</a>.
In this mode, trace is recorded for the first run of each test, but not
for retires. When test run fails, the trace file is retained, otherwise
it is removed.</p>
<pre lang="js" data-meta="title=playwright.config.ts"><code>import {
defineConfig } from '@playwright/test';
<p>export default defineConfig({
use: {
trace: 'retain-on-first-failure',
},
});
</code></pre></p>
</li>
<li>
<p>New property <a
href="https://playwright.dev/docs/api/class-testinfo#test-info-tags">testInfo.tags</a>
exposes test tags during test execution.</p>
<pre lang="js"><code>test('example', async ({ page }) =&gt; {
  console.log(test.info().tags);
});
</code></pre>
</li>
<li>
<p>New method <a
href="https://playwright.dev/docs/api/class-locator#locator-content-frame">locator.contentFrame()</a>
converts a <code>Locator</code> object to a <code>FrameLocator</code>.
This can be useful when you have a <code>Locator</code> object obtained
somewhere, and later on would like to interact with the content inside
the frame.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/a051ceb8e1302293ec42d4ad01d7f6325cbbfcf9"><code>a051ceb</code></a>
chore: mark 1.43.1 (<a
href="https://redirect.github.com/microsoft/playwright/issues/30354">#30354</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/3ab466e1d34340e0ebeb50250011530b751a0fa4"><code>3ab466e</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30312">#30312</a>):
fix(ui-mode): do not loose run information after writing...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/35468cfaaa909a5a290785e86b247efa434ab46c"><code>35468cf</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30342">#30342</a>):
Revert &quot;fix(reuse): reset Origin Private File System API...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/53326391148545543b433e3e6d4e771f179b93a1"><code>5332639</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30263">#30263</a>):
docs: add v1.43 release notes for language ports</li>
<li><a
href="https://github.com/microsoft/playwright/commit/c729a7b86db1b74872526417c8008fe13cda1e87"><code>c729a7b</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30232">#30232</a>):
docs: fix C# and python snippets</li>
<li><a
href="https://github.com/microsoft/playwright/commit/7748e219a130c7a9b4479c46f436d1c378322f2e"><code>7748e21</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30210">#30210</a>):
docs: update context.backgroundPage event examples</li>
<li><a
href="https://github.com/microsoft/playwright/commit/acb6ff1d84e1119fe09966881cf2fac4d3ceee74"><code>acb6ff1</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30200">#30200</a>):
docs(java,csharp): add BrowserContext.backgroundPage(s)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/7c7f8ac9fa866b627c4b04e02b3990a8d49e6dd3"><code>7c7f8ac</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30227">#30227</a>):
chore(deps): bump vite from 5.0.12 to 5.0.13 (<a
href="https://redirect.github.com/microsoft/playwright/issues/30254">#30254</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/62d4dc9ebb19099882a19cc3279276bdf6ba653d"><code>62d4dc9</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30235">#30235</a>):
feat(chromium): roll to r1112</li>
<li><a
href="https://github.com/microsoft/playwright/commit/79d477666f61e58874fac359a898cdb78076719e"><code>79d4776</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30226">#30226</a>):
chore: migrate to the testserver.initialize</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.42.1...v1.43.1">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.42.1&new-version=1.43.1)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 1, 2024
1 parent 09d4b74 commit 140680f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/connect-playwright-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@connectrpc/connect-playwright": "^0.3.2",
"@playwright/test": "^1.42.1",
"@playwright/test": "^1.43.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/connect-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@playwright/test": "^1.42.1",
"@playwright/test": "^1.43.1",
"@types/node": "^20.12.7"
},
"files": [
Expand Down

0 comments on commit 140680f

Please sign in to comment.