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.30.0 to 1.31.0 in /integration (#6015)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.30.0 to 1.31.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.31.0</h2> <h2>New APIs</h2> <ul> <li> <p>New property <a href="https://playwright.dev/docs/api/class-testproject#test-project-dependencies"><code>TestProject.dependencies</code></a> to configure dependencies between projects.</p> <p>Using dependencies allows global setup to produce traces and other artifacts, see the setup steps in the test report and more.</p> <pre lang="js"><code>// playwright.config.ts import { defineConfig } from '@playwright/test'; <p>export default defineConfig({ projects: [ { name: 'setup', testMatch: /global.setup.ts/, }, { name: 'chromium', use: devices['Desktop Chrome'], dependencies: ['setup'], }, { name: 'firefox', use: devices['Desktop Firefox'], dependencies: ['setup'], }, { name: 'webkit', use: devices['Desktop Safari'], dependencies: ['setup'], }, ], }); </code></pre></p> </li> <li> <p>New assertion <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-in-viewport"><code>expect(locator).toBeInViewport()</code></a> ensures that locator points to an element that intersects viewport, according to the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">intersection observer API</a>.</p> <pre lang="js"><code>const button = page.getByRole('button'); <p>// Make sure at least some part of element intersects viewport. await expect(button).toBeInViewport();</p> <p>// Make sure element is fully outside of viewport. await expect(button).not.toBeInViewport();</p> <p>// Make sure that at least half of the element intersects viewport. await expect(button).toBeInViewport({ ratio: 0.5 }); </code></pre></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/4413b01e4038191b0d0d83f1549a2e3d2cf05f46"><code>4413b01</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20994">#20994</a>): docs: fix release notes</li> <li><a href="https://github.com/microsoft/playwright/commit/1cad99ccf544bcd73c39e04e41abacaa8a0b726d"><code>1cad99c</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21008">#21008</a>): docs: update auth docs to remove cross-run caching</li> <li><a href="https://github.com/microsoft/playwright/commit/725dd8b4b14e047cdd99c1f69239b55a1d35bcee"><code>725dd8b</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21010">#21010</a>): chore: align js routing logic with other langs (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21036">#21036</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/63642bd77ca6817cc025b715858b74cddc1b7d66"><code>63642bd</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20997">#20997</a>): chore: update release notes for 1.31</li> <li><a href="https://github.com/microsoft/playwright/commit/bb3b96e433de3a3a4bd98e068bfb888791808c89"><code>bb3b96e</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20933">#20933</a>): chore: 1.31 release notes for js</li> <li><a href="https://github.com/microsoft/playwright/commit/d32d466f2f78b9fef91358767a3f7af826072537"><code>d32d466</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20998">#20998</a>): fix: stricter condition for Firefox codegen tests workar...</li> <li><a href="https://github.com/microsoft/playwright/commit/31ace756d89fab24eacb814632fa4a1ea0ce0ceb"><code>31ace75</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20973">#20973</a>): chore: fix cli executable bits</li> <li><a href="https://github.com/microsoft/playwright/commit/822227f925f97917f95d60d0144d5985f9e77b9b"><code>822227f</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20969">#20969</a>): chore: release notes for 1.31 for java, python, csharp</li> <li><a href="https://github.com/microsoft/playwright/commit/f276edf8f17fd868558e3d03fcb0c255a4473160"><code>f276edf</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20968">#20968</a>): docs: Route.fetch.maxRedirects in java (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20970">#20970</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/b7d36117d1f381f0dc9eda84a949a0fed229bdae"><code>b7d3611</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20966">#20966</a>): fix(docs): move callback of Worker.waitForClose to the e...</li> <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.30.0...v1.31.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.30.0&new-version=1.31.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 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