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.42.1 to 1.43.0 in /webapp (#926)
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 }) => { 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="embedded"]'); // ... 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="embedded"]'); // ... 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