Skip to content

Commit a99ce4b

Browse files
Bump @playwright/test from 1.39.0 to 1.40.0 in /webapp (microsoft#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>&quot;Assert visibility&quot; tool generates <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-visible">expect(locator).toBeVisible()</a>.</li> <li>&quot;Assert value&quot; tool generates <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-value">expect(locator).toHaveValue(value)</a>.</li> <li>&quot;Assert text&quot; 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 }) =&gt; { 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>
1 parent 55f1f5b commit a99ce4b

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@fluentui/react-icons": "^2.0.222",
2222
"@fluentui/react-northstar": "^0.66.4",
2323
"@microsoft/signalr": "^7.0.12",
24-
"@playwright/test": "^1.39.0",
24+
"@playwright/test": "^1.40.0",
2525
"@reduxjs/toolkit": "^1.9.7",
2626
"debug": "^4.3.4",
2727
"microsoft-cognitiveservices-speech-sdk": "^1.32.0",

webapp/yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,12 +2764,12 @@
27642764
"@nodelib/fs.scandir" "2.1.5"
27652765
fastq "^1.6.0"
27662766

2767-
"@playwright/test@^1.39.0":
2768-
version "1.39.0"
2769-
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.39.0.tgz#d10ba8e38e44104499e25001945f07faa9fa91cd"
2770-
integrity sha512-3u1iFqgzl7zr004bGPYiN/5EZpRUSFddQBra8Rqll5N0/vfpqlP9I9EXqAoGacuAbX6c9Ulg/Cjqglp5VkK6UQ==
2767+
"@playwright/test@^1.40.0":
2768+
version "1.40.0"
2769+
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.40.0.tgz#d06c506977dd7863aa16e07f2136351ecc1be6ed"
2770+
integrity sha512-PdW+kn4eV99iP5gxWNSDQCbhMaDVej+RXL5xr6t04nbKLCBwYtA046t7ofoczHOm8u6c+45hpDKQVZqtqwkeQg==
27712771
dependencies:
2772-
playwright "1.39.0"
2772+
playwright "1.40.0"
27732773

27742774
"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
27752775
version "0.5.10"
@@ -8759,17 +8759,17 @@ pkg-up@^3.1.0:
87598759
dependencies:
87608760
find-up "^3.0.0"
87618761

8762-
playwright-core@1.39.0:
8763-
version "1.39.0"
8764-
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.39.0.tgz#efeaea754af4fb170d11845b8da30b2323287c63"
8765-
integrity sha512-+k4pdZgs1qiM+OUkSjx96YiKsXsmb59evFoqv8SKO067qBA+Z2s/dCzJij/ZhdQcs2zlTAgRKfeiiLm8PQ2qvw==
8762+
playwright-core@1.40.0:
8763+
version "1.40.0"
8764+
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.40.0.tgz#82f61e5504cb3097803b6f8bbd98190dd34bdf14"
8765+
integrity sha512-fvKewVJpGeca8t0ipM56jkVSU6Eo0RmFvQ/MaCQNDYm+sdvKkMBBWTE1FdeMqIdumRaXXjZChWHvIzCGM/tA/Q==
87668766

8767-
playwright@1.39.0:
8768-
version "1.39.0"
8769-
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.39.0.tgz#184c81cd6478f8da28bcd9e60e94fcebf566e077"
8770-
integrity sha512-naE5QT11uC/Oiq0BwZ50gDmy8c8WLPRTEWuSSFVG2egBka/1qMoSqYQcROMT9zLwJ86oPofcTH2jBY/5wWOgIw==
8767+
playwright@1.40.0:
8768+
version "1.40.0"
8769+
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.40.0.tgz#2a1824b9fe5c4fe52ed53db9ea68003543a99df0"
8770+
integrity sha512-gyHAgQjiDf1m34Xpwzaqb76KgfzYrhK7iih+2IzcOCoZWr/8ZqmdBw+t0RU85ZmfJMgtgAiNtBQ/KS2325INXw==
87718771
dependencies:
8772-
playwright-core "1.39.0"
8772+
playwright-core "1.40.0"
87738773
optionalDependencies:
87748774
fsevents "2.3.2"
87758775

0 commit comments

Comments
 (0)