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.28.1 to 1.29.0 in /integration (#5809)
Bumps [@playwright/test](/~https://github.com/Microsoft/playwright) from 1.28.1 to 1.29.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.29.0</h2> <h2>New APIs</h2> <ul> <li> <p>New method <a href="https://playwright.dev/docs/api/class-route#route-fetch"><code>route.fetch()</code></a> and new option <code>json</code> for <a href="https://playwright.dev/docs/api/class-route#route-fulfill"><code>route.fulfill()</code></a>:</p> <pre lang="js"><code>await page.route('**/api/settings', async route => { // Fetch original settings. const response = await route.fetch(); <p>// Force settings theme to a predefined value. const json = await response.json(); json.theme = 'Solorized';</p> <p>// Fulfill with modified data. await route.fulfill({ json }); }); </code></pre></p> </li> <li> <p>New method <a href="https://playwright.dev/docs/api/class-locator#locator-all"><code>locator.all()</code></a> to iterate over all matching elements:</p> <pre lang="js"><code>// Check all checkboxes! const checkboxes = page.getByRole('checkbox'); for (const checkbox of await checkboxes.all()) await checkbox.check(); </code></pre> </li> <li> <p>Retry blocks of code until all assertions pass:</p> <pre lang="js"><code>await expect(async () => { const response = await page.request.get('https://api.example.com'); await expect(response).toBeOK(); }).toPass(); </code></pre> <p>Read more in <a href="https://playwright.dev/docs/test-assertions#retrying">our documentation</a>.</p> </li> <li> <p>Automatically capture <strong>full page screenshot</strong> on test failure:</p> <pre lang="js"><code>// playwright.config.ts import type { PlaywrightTestConfig } from '@playwright/test'; <p>const config: PlaywrightTestConfig = { use: { screenshot: { mode: 'only-on-failure', fullPage: true, } </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/00895e36d42a5d2dc570780bed389c871fdea77a"><code>00895e3</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19532">#19532</a>): docs: remove Serializable from Route.*.postData in java ...</li> <li><a href="/~https://github.com/microsoft/playwright/commit/0cf3ec2e6481f6ba45a0b7fb26e713f07fc96b6e"><code>0cf3ec2</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19527">#19527</a>): docs: route.fetch.postData in java (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19528">#19528</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/5c3be309df08214f244834933e542b5593ad29f8"><code>5c3be30</code></a> chore: mark 1.29.0 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19491">#19491</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/a100191ec96fb3784b2cb451cba97a857134e09b"><code>a100191</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19497">#19497</a>): chore: release notes 1.29</li> <li><a href="/~https://github.com/microsoft/playwright/commit/4b871153d07b66c8ad19ec1f0b72a8d575e10e8f"><code>4b87115</code></a> chery-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19509">#19509</a>): docs: fix locator all since version (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19521">#19521</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/8a9692e2c5107cdba4de3ceaa416446bc7a14858"><code>8a9692e</code></a> chery-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19507">#19507</a>): docs: fix HTML snippets (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19508">#19508</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/1263bc3edd400379e28dc6cbfe031f825df004f7"><code>1263bc3</code></a> feat(console api): first/last/nth (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19485">#19485</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/3afd83c8cce5b036ad93b0dca188e8a5bd59abbf"><code>3afd83c</code></a> chore: withdraw locator.enumerate (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19484">#19484</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/7bc184f526d8e950469e8608150d5753a0c4a784"><code>7bc184f</code></a> chore: recorder button styling (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19231">#19231</a>)</li> <li><a href="/~https://github.com/microsoft/playwright/commit/e7088cc68573db2d7d83e2a184da16ba3f15a264"><code>e7088cc</code></a> feat(firefox): roll to r1369 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/19465">#19465</a>)</li> <li>Additional commits viewable in <a href="/~https://github.com/Microsoft/playwright/compare/v1.28.1...v1.29.0">compare view</a></li> </ul> </details> <br /> [](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