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.39.0 to 1.40.0 in /webapp (#631)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.39.0 to 1.40.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.40.0</h2> <h2>Test Generator Update</h2> <p><img src="https://github.com/microsoft/playwright/assets/9881434/e8d67e2e-f36d-4301-8631-023948d3e190" alt="Playwright Test Generator" /></p> <p>New tools to generate assertions:</p> <ul> <li>"Assert visibility" tool generates <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-visible">expect(locator).toBeVisible()</a>.</li> <li>"Assert value" tool generates <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-value">expect(locator).toHaveValue(value)</a>.</li> <li>"Assert text" tool generates <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-contain-text">expect(locator).toContainText(text)</a>.</li> </ul> <p>Here is an example of a generated test with assertions:</p> <pre lang="js"><code>import { test, expect } from '@playwright/test'; <p>test('test', async ({ page }) => { await page.goto('<a href="https://playwright.dev/">https://playwright.dev/</a>'); await page.getByRole('link', { name: 'Get started' }).click(); await expect(page.getByLabel('Breadcrumbs').getByRole('list')).toContainText('Installation'); await expect(page.getByLabel('Search')).toBeVisible(); await page.getByLabel('Search').click(); await page.getByPlaceholder('Search docs').fill('locator'); await expect(page.getByPlaceholder('Search docs')).toHaveValue('locator'); }); </code></pre></p> <h2>New APIs</h2> <ul> <li>Option <code>reason</code> in <a href="https://playwright.dev/docs/api/class-page#page-close">page.close()</a>, <a href="https://playwright.dev/docs/api/class-browsercontext#browser-context-close">browserContext.close()</a> and <a href="https://playwright.dev/docs/api/class-browser#browser-close">browser.close()</a>. Close reason is reported for all operations interrupted by the closure.</li> <li>Option <code>firefoxUserPrefs</code> in <a href="https://playwright.dev/docs/api/class-browsertype#browser-type-launch-persistent-context">browserType.launchPersistentContext(userDataDir)</a>.</li> </ul> <h2>Other Changes</h2> <ul> <li>Methods <a href="https://playwright.dev/docs/api/class-download#download-path">download.path()</a> and <a href="https://playwright.dev/docs/api/class-download#download-create-read-stream">download.createReadStream()</a> throw an error for failed and cancelled downloads.</li> <li>Playwright <a href="https://playwright.dev/docs/docker">docker image</a> now comes with Node.js v20.</li> </ul> <h2>Browser Versions</h2> <ul> <li>Chromium 120.0.6099.28</li> <li>Mozilla Firefox 119.0</li> <li>WebKit 17.4</li> </ul> <p>This version was also tested against the following stable channels:</p> <ul> <li>Google Chrome 119</li> <li>Microsoft Edge 119</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/b8949166dc08e0ae499d08bec004a3f1a4e26ec8"><code>b894916</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/28198">#28198</a>): feat(recorder): UX updates for assertion tools (<a href="https://redirect.github.com/microsoft/playwright/issues/28202">#28202</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/59e8f4815ddc99b53b3856805c83841ad5586eab"><code>59e8f48</code></a> chore: mark v1.40.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/28199">#28199</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/85438edb97772d501443eaf5deaeab9f064b2045"><code>85438ed</code></a> test: Intl.ListFormat is working in playwright all browsers (<a href="https://redirect.github.com/microsoft/playwright/issues/28178">#28178</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/aec4399d8f97e06470859e50e2acf81efe748d64"><code>aec4399</code></a> docs: release notes for v1.40 (<a href="https://redirect.github.com/microsoft/playwright/issues/28175">#28175</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/25b9c4eb4ae7aac078cecb731faaa32128c57c8a"><code>25b9c4e</code></a> chore: do not lose error name for js errors (<a href="https://redirect.github.com/microsoft/playwright/issues/28177">#28177</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/4575c9a182b72df4d6720690ebe5b4911d240a45"><code>4575c9a</code></a> chore(logs): Add new log level to capture client-server message's metadata in...</li> <li><a href="https://github.com/microsoft/playwright/commit/80bab8afae12603e9a8ed6a094cf7a7317e51a45"><code>80bab8a</code></a> fix(electron/android): re-add Element.prototype.checkVisibility check (<a href="https://redirect.github.com/microsoft/playwright/issues/28173">#28173</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/7ffcb42551d920a4733e37f1b16bb0441996bb92"><code>7ffcb42</code></a> test: fix 'exposeFunction should not leak' in video mode (<a href="https://redirect.github.com/microsoft/playwright/issues/28169">#28169</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/0867c3ce5b2f7563c99f279d433885d8ec8423d9"><code>0867c3c</code></a> feat(chromium): roll to r1091 (<a href="https://redirect.github.com/microsoft/playwright/issues/28171">#28171</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/1c8ceb0a029533c7c05b20176aaffd41eb6f65bb"><code>1c8ceb0</code></a> fix(html-reporter): Include specified host and port in the logged instruction...</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.39.0...v1.40.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~dgozman-ms">dgozman-ms</a>, a new releaser for <code>@playwright/test</code> since your current version.</p> </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.39.0&new-version=1.40.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information