Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump playwright-core from 1.49.1 to 1.50.0 (#2898)
Bumps [playwright-core](https://github.com/microsoft/playwright) from 1.49.1 to 1.50.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">playwright-core's releases</a>.</em></p> <blockquote> <h2>v1.50.0</h2> <h2>Test runner</h2> <ul> <li> <p>New option <a href="https://playwright.dev/docs/api/class-test#test-step-option-timeout"><code>timeout</code></a> allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test.</p> <pre lang="js"><code>test('some test', async ({ page }) => { await test.step('a step', async () => { // This step can time out separately from the test }, { timeout: 1000 }); }); </code></pre> </li> <li> <p>New method <a href="https://playwright.dev/docs/api/class-test#test-step-skip">test.step.skip()</a> to disable execution of a test step.</p> <pre lang="js"><code>test('some test', async ({ page }) => { await test.step('before running step', async () => { // Normal step }); <p>await test.step.skip('not yet ready', async () => {<br /> // This step is skipped<br /> });</p> <p>await test.step('after running step', async () => {<br /> // This step still runs even though the previous one was skipped<br /> });<br /> });<br /> </code></pre></p> </li> <li> <p>Expanded <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-match-aria-snapshot-2">expect(locator).toMatchAriaSnapshot()</a> to allow storing of aria snapshots in separate YAML files.</p> </li> <li> <p>Added method <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-accessible-error-message">expect(locator).toHaveAccessibleErrorMessage()</a> to assert the Locator points to an element with a given <a href="https://w3c.github.io/aria/#aria-errormessage">aria errormessage</a>.</p> </li> <li> <p>Option <a href="https://playwright.dev/docs/api/class-testconfig#test-config-update-snapshots">testConfig.updateSnapshots</a> added the configuration enum <code>changed</code>. <code>changed</code> updates only the snapshots that have changed, whereas <code>all</code> now updates all snapshots, regardless of whether there are any differences.</p> </li> <li> <p>New option <a href="https://playwright.dev/docs/api/class-testconfig#test-config-update-source-method">testConfig.updateSourceMethod</a> defines the way source code is updated when <a href="https://playwright.dev/docs/api/class-testconfig#test-config-update-snapshots">testConfig.updateSnapshots</a> is configured. Added <code>overwrite</code> and <code>3-way</code> modes that write the changes into source code, on top of existing <code>patch</code> mode that creates a patch file.</p> <pre lang="bash"><code>npx playwright test --update-snapshots=changed --update-source-method=3way </code></pre> </li> <li> <p>Option <a href="https://playwright.dev/docs/api/class-testconfig#test-config-web-server">testConfig.webServer</a> added a <code>gracefulShutdown</code> field for specifying a process kill signal other than the default <code>SIGKILL</code>.</p> </li> <li> <p>Exposed <a href="https://playwright.dev/docs/api/class-teststep#test-step-attachments">testStep.attachments</a> from the reporter API to allow retrieval of all attachments created by that step.</p> </li> </ul> <h2>UI updates</h2> <ul> <li>Updated default HTML reporter to improve display of attachments.</li> <li>New button for picking elements to produce aria snapshots.</li> <li>Additional details (such as keys pressed) are now displayed alongside action API calls in traces.</li> <li>Display of <code>canvas</code> content in traces is error-prone. Display is now disabled by default, and can be enabled via the <code>Display canvas content</code> UI setting.</li> <li><code>Call</code> and <code>Network</code> panels now display additional time information.</li> </ul> <h2>Breaking</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/9d221785334d22b0606b746bffe8a89b8f652e1c"><code>9d22178</code></a> chore: mark v1.50.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/34447">#34447</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/5d6ac9622d19e46b3388a9861d983abc63685a4d"><code>5d6ac96</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34442">#34442</a>): fix(test runner): respect updateSourceMethod from the co...</li> <li><a href="https://github.com/microsoft/playwright/commit/97b76b46af0b11ecfc13abe6a2808a3b08260c3c"><code>97b76b4</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34440">#34440</a>): chore(driver): roll driver to recent Node.js LTS version</li> <li><a href="https://github.com/microsoft/playwright/commit/7bbcc3c62448ddc2d5e46503d52879db5ac10902"><code>7bbcc3c</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34353">#34353</a>): chore: move attachment link back to tree item, make it f...</li> <li><a href="https://github.com/microsoft/playwright/commit/2811a1d4f55cdac7fc6a36d2100069506e870c24"><code>2811a1d</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34430">#34430</a>): docs: switch gracefulShutdown to primarily mention SIGTE...</li> <li><a href="https://github.com/microsoft/playwright/commit/2b8d1ce260a0a92946f049404e5f2ccad30b082a"><code>2b8d1ce</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34380">#34380</a>): docs: release notes for v1.50 js (<a href="https://redirect.github.com/microsoft/playwright/issues/34425">#34425</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/715eb250e736334ea7a24100aed79215147058a4"><code>715eb25</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34409">#34409</a>): fix(aria snapshot): make rebase work when options are sp...</li> <li><a href="https://github.com/microsoft/playwright/commit/6106ef020fd921d022f516c573de3c3cb412698b"><code>6106ef0</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34410">#34410</a>): fix(list reporter): do not break after output without tr...</li> <li><a href="https://github.com/microsoft/playwright/commit/09cd74f7b05694d9862bab1b056bdbff42d6687e"><code>09cd74f</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34407">#34407</a>): fix(step.skip): show a skipped indicator in UI mode (<a href="https://redirect.github.com/microsoft/playwright/issues/34">#34</a>...</li> <li><a href="https://github.com/microsoft/playwright/commit/cc6eb090ec28c32e80f4ab5d237e41a5780770a6"><code>cc6eb09</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/34386">#34386</a>): chore: step timeout improvements (<a href="https://redirect.github.com/microsoft/playwright/issues/34387">#34387</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.49.1...v1.50.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=playwright-core&package-manager=npm_and_yarn&previous-version=1.49.1&new-version=1.50.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>
- Loading branch information