Skip to content

Commit

Permalink
Bump @playwright/test from 1.42.1 to 1.43.0 in /webapp (#926)
Browse files Browse the repository at this point in the history
Bumps [@playwright/test](https://github.com/microsoft/playwright) from
1.42.1 to 1.43.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.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>
<pre lang="js"><code>const locator =
page.locator('iframe[name=&quot;embedded&quot;]');
// ...
const frameLocator = locator.contentFrame();
await frameLocator.getByRole('button').click();
</code></pre>
</li>
<li>
<p>New method <a
href="https://playwright.dev/docs/api/class-framelocator#frame-locator-owner">frameLocator.owner()</a>
converts a <code>FrameLocator</code> object to a <code>Locator</code>.
This can be useful when you have a <code>FrameLocator</code> object
obtained somewhere, and later on would like to interact with the
<code>iframe</code> element.</p>
<pre lang="js"><code>const frameLocator =
page.frameLocator('iframe[name=&quot;embedded&quot;]');
// ...
const locator = frameLocator.owner();
await expect(locator).toBeVisible();
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<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><a
href="https://github.com/microsoft/playwright/commit/6b94231dcfe8fff8ebb26770ef1bbb7c9d8c799b"><code>6b94231</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30202">#30202</a>):
do not run setup tasks on test run via server</li>
<li><a
href="https://github.com/microsoft/playwright/commit/088973633272d5cb5a7d91f4cec96b2e071f050b"><code>0889736</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30185">#30185</a>):
chore: opt into stdio forwarding</li>
<li><a
href="https://github.com/microsoft/playwright/commit/a01db3ffd758a93e833b23f281d03b415731a5bf"><code>a01db3f</code></a>
chore: mark version 1.43.0 (<a
href="https://redirect.github.com/microsoft/playwright/issues/30183">#30183</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1cd1239d62f924405429b12bbbcc410a463044ae"><code>1cd1239</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30170">#30170</a>):
chore: hide internal commands</li>
<li><a
href="https://github.com/microsoft/playwright/commit/122ab67e34c996f15d85be12f460f66269be500f"><code>122ab67</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30138">#30138</a>):
fix: UI Mode tags without theme applied</li>
<li><a
href="https://github.com/microsoft/playwright/commit/75776dbc3e15bf13db235de666e637340c768bf7"><code>75776db</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/30135">#30135</a>):
chore: do not exit UI mode upon page reload</li>
<li><a
href="https://github.com/microsoft/playwright/commit/757f308475dcc06fdabb8e15f4cd9a27be496e6a"><code>757f308</code></a>
docs: release notes 1.43 for js (<a
href="https://redirect.github.com/microsoft/playwright/issues/30128">#30128</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.42.1...v1.43.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.42.1&new-version=1.43.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 8, 2024
1 parent 015366d commit 31eb345
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@fluentui/react-icons": "^2.0.234",
"@fluentui/react-northstar": "^0.66.4",
"@microsoft/signalr": "^8.0.0",
"@playwright/test": "^1.42.1",
"@playwright/test": "^1.43.0",
"@reduxjs/toolkit": "^2.2.3",
"debug": "^4.3.4",
"microsoft-cognitiveservices-speech-sdk": "^1.36.0",
Expand Down
28 changes: 14 additions & 14 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2739,12 +2739,12 @@
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@playwright/test@^1.42.1":
version "1.42.1"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.42.1.tgz#9eff7417bcaa770e9e9a00439e078284b301f31c"
integrity sha512-Gq9rmS54mjBL/7/MvBaNOBwbfnh7beHvS6oS4srqXFcQHpQCV1+c8JXWE8VLPyRDhgS3H8x8A7hztqI9VnwrAQ==
"@playwright/test@^1.43.0":
version "1.43.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.43.0.tgz#5d90f247b26d404dd5d81c60f9c7c5e5159eb664"
integrity sha512-Ebw0+MCqoYflop7wVKj711ccbNlrwTBCtjY5rlbiY9kHL2bCYxq+qltK6uPsVBGGAOb033H2VO0YobcQVxoW7Q==
dependencies:
playwright "1.42.1"
playwright "1.43.0"

"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
version "0.5.11"
Expand Down Expand Up @@ -9159,17 +9159,17 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"

playwright-core@1.42.1:
version "1.42.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.42.1.tgz#13c150b93c940a3280ab1d3fbc945bc855c9459e"
integrity sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==
playwright-core@1.43.0:
version "1.43.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.43.0.tgz#d8079acb653abebb0b63062e432479647a4e1271"
integrity sha512-iWFjyBUH97+pUFiyTqSLd8cDMMOS0r2ZYz2qEsPjH8/bX++sbIJT35MSwKnp1r/OQBAqC5XO99xFbJ9XClhf4w==

playwright@1.42.1:
version "1.42.1"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.42.1.tgz#79c828b51fe3830211137550542426111dc8239f"
integrity sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==
playwright@1.43.0:
version "1.43.0"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.43.0.tgz#2c2efd4ee2a25defd8c24c98ccb342bdd9d435f5"
integrity sha512-SiOKHbVjTSf6wHuGCbqrEyzlm6qvXcv7mENP+OZon1I07brfZLGdfWV0l/efAzVx7TF3Z45ov1gPEkku9q25YQ==
dependencies:
playwright-core "1.42.1"
playwright-core "1.43.0"
optionalDependencies:
fsevents "2.3.2"

Expand Down

0 comments on commit 31eb345

Please sign in to comment.