Skip to content

Commit

Permalink
Bump @playwright/test from 1.39.0 to 1.40.0 in /webapp (#631)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dependabot[bot] authored Nov 20, 2023
1 parent 3b49b73 commit 6403cc6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@fluentui/react-icons": "^2.0.222",
"@fluentui/react-northstar": "^0.66.4",
"@microsoft/signalr": "^7.0.12",
"@playwright/test": "^1.39.0",
"@playwright/test": "^1.40.0",
"@reduxjs/toolkit": "^1.9.7",
"debug": "^4.3.4",
"microsoft-cognitiveservices-speech-sdk": "^1.32.0",
Expand Down
28 changes: 14 additions & 14 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2764,12 +2764,12 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

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

"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
version "0.5.10"
Expand Down Expand Up @@ -8759,17 +8759,17 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"

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

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

Expand Down

0 comments on commit 6403cc6

Please sign in to comment.