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.43.1 to 1.45.1 in /integration (#7879)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.43.1 to 1.45.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.45.1</h2> <h3>Highlights</h3> <p><a href="https://github.com/microsoft/playwright/issues/31473">microsoft/playwright#31473</a> - [REGRESSION]: Playwright raises an error ENOENT: no such file or directory, open 'test-results/.playwright-artifacts-0/hash.zip' with Electron <a href="https://github.com/microsoft/playwright/issues/31442">microsoft/playwright#31442</a> - [REGRESSION]: Locators of elements changing from/to hidden have operations hanging when using <code>--disable-web-security</code> <a href="https://github.com/microsoft/playwright/issues/31431">microsoft/playwright#31431</a> - [REGRESSION]: NewTab doesn't work properly with Chrome with <code>--disable-web-security</code> <a href="https://github.com/microsoft/playwright/issues/31425">microsoft/playwright#31425</a> - [REGRESSION]: beforeEach hooks are not skipped when describe condition depends on fixtures <a href="https://github.com/microsoft/playwright/issues/31491">microsoft/playwright#31491</a> - [REGRESSION]: <code>@playwright/experimental-ct-react</code> doesn't work with VSCode extension and PNPM</p> <h2>Browser Versions</h2> <ul> <li>Chromium 127.0.6533.5</li> <li>Mozilla Firefox 127.0</li> <li>WebKit 17.4</li> </ul> <p>This version was also tested against the following stable channels:</p> <ul> <li>Google Chrome 126</li> <li>Microsoft Edge 126</li> </ul> <h2>v1.45.0</h2> <h2>Clock</h2> <p>Utilizing the new <a href="https://playwright.dev/docs/api/class-clock">Clock</a> API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including:</p> <ul> <li>testing with predefined time;</li> <li>keeping consistent time and timers;</li> <li>monitoring inactivity;</li> <li>ticking through time manually.</li> </ul> <pre lang="js"><code>// Initialize clock and let the page load naturally. await page.clock.install({ time: new Date('2024-02-02T08:00:00') }); await page.goto('http://localhost:3333'); <p>// Pretend that the user closed the laptop lid and opened it again at 10am, // Pause the time once reached that point. await page.clock.pauseAt(new Date('2024-02-02T10:00:00'));</p> <p>// Assert the page state. await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:00:00 AM');</p> <p>// Close the laptop lid again and open it at 10:30am. await page.clock.fastForward('30:00'); await expect(page.getByTestId('current-time')).toHaveText('2/2/2024, 10:30:00 AM'); </code></pre></p> <p>See <a href="https://playwright.dev/docs/clock">the clock guide</a> for more details.</p> <h2>Test runner</h2> <ul> <li>New CLI option <code>--fail-on-flaky-tests</code> that sets exit code to <code>1</code> upon any flaky tests. Note that by default, the test runner exits with code <code>0</code> when all failed tests recovered upon a retry. With this option, the test run will fail in such case.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/e8989f83d9801cdaadc3803b5341c601c9593947"><code>e8989f8</code></a> chore: mark v1.45.1 (<a href="https://github.com/microsoft/playwright/issues/31516">#31516</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/1d94caa1038a6b317ac645bfc14df0ac5cc51191"><code>1d94caa</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31496">#31496</a>): docs(release-notes): fix .NET snippets</li> <li><a href="https://github.com/microsoft/playwright/commit/5be51684fbc5c3f4926c30e5bb53b18f5b5312db"><code>5be5168</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31504">#31504</a>): fix(ct): export package.json</li> <li><a href="https://github.com/microsoft/playwright/commit/0fe7a102f3123d3f80dc40a06c9a6d5050cee84a"><code>0fe7a10</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31437">#31437</a>): fix(electron): tracing with <code>@playwright/test</code></li> <li><a href="https://github.com/microsoft/playwright/commit/4ec4ccf7f39c17979a9deb4b08879bc423131c56"><code>4ec4ccf</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31401">#31401</a>): chore: .NET generator fixes</li> <li><a href="https://github.com/microsoft/playwright/commit/3b4d32e7319c65442ebf3ac9a17936e6f74fae98"><code>3b4d32e</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31458">#31458</a>): fix(utility): create utility world when web security is ...</li> <li><a href="https://github.com/microsoft/playwright/commit/4ccaef69be16ae6ab7bb63772bd023b92548316b"><code>4ccaef6</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31426">#31426</a>): fix(runner): do not run beforeEach hooks upon skip modifier</li> <li><a href="https://github.com/microsoft/playwright/commit/4f3f6eecae490af444dd9298c9eaeb0c596915b7"><code>4f3f6ee</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31421">#31421</a>): docs: release notes for 1.45</li> <li><a href="https://github.com/microsoft/playwright/commit/d557b7b2566ecf4535329810c59b53156c2f476b"><code>d557b7b</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31420">#31420</a>): docs(java): correctly parse time (<a href="https://github.com/microsoft/playwright/issues/31422">#31422</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/1368bca737c6f26d81913f16e7a0c48b44b374a1"><code>1368bca</code></a> cherry-pick(<a href="https://github.com/microsoft/playwright/issues/31419">#31419</a>): docs: deprecate <code>handle</code> option in <code>exposeBinding</code></li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.43.1...v1.45.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.43.1&new-version=1.45.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 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> Co-authored-by: Jesús Miguel Benito Calzada <beni0888@hotmail.com>
- Loading branch information