Skip to content

Commit

Permalink
Bump @playwright/test from 1.30.0 to 1.31.0 in /integration (#6015)
Browse files Browse the repository at this point in the history
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from
1.30.0 to 1.31.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.31.0</h2>
<h2>New APIs</h2>
<ul>
<li>
<p>New property <a
href="https://playwright.dev/docs/api/class-testproject#test-project-dependencies"><code>TestProject.dependencies</code></a>
to configure dependencies between projects.</p>
<p>Using dependencies allows global setup to produce traces and other
artifacts,
see the setup steps in the test report and more.</p>
<pre lang="js"><code>// playwright.config.ts
import { defineConfig } from '@playwright/test';
<p>export default defineConfig({
projects: [
{
name: 'setup',
testMatch: /global.setup.ts/,
},
{
name: 'chromium',
use: devices['Desktop Chrome'],
dependencies: ['setup'],
},
{
name: 'firefox',
use: devices['Desktop Firefox'],
dependencies: ['setup'],
},
{
name: 'webkit',
use: devices['Desktop Safari'],
dependencies: ['setup'],
},
],
});
</code></pre></p>
</li>
<li>
<p>New assertion <a
href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-in-viewport"><code>expect(locator).toBeInViewport()</code></a>
ensures that locator points to an element that intersects viewport,
according to the <a
href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">intersection
observer API</a>.</p>
<pre lang="js"><code>const button = page.getByRole('button');
<p>// Make sure at least some part of element intersects viewport.
await expect(button).toBeInViewport();</p>
<p>// Make sure element is fully outside of viewport.
await expect(button).not.toBeInViewport();</p>
<p>// Make sure that at least half of the element intersects viewport.
await expect(button).toBeInViewport({ ratio: 0.5 });
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/4413b01e4038191b0d0d83f1549a2e3d2cf05f46"><code>4413b01</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20994">#20994</a>):
docs: fix release notes</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1cad99ccf544bcd73c39e04e41abacaa8a0b726d"><code>1cad99c</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21008">#21008</a>):
docs: update auth docs to remove cross-run caching</li>
<li><a
href="https://github.com/microsoft/playwright/commit/725dd8b4b14e047cdd99c1f69239b55a1d35bcee"><code>725dd8b</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21010">#21010</a>):
chore: align js routing logic with other langs (<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/21036">#21036</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/63642bd77ca6817cc025b715858b74cddc1b7d66"><code>63642bd</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20997">#20997</a>):
chore: update release notes for 1.31</li>
<li><a
href="https://github.com/microsoft/playwright/commit/bb3b96e433de3a3a4bd98e068bfb888791808c89"><code>bb3b96e</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20933">#20933</a>):
chore: 1.31 release notes for js</li>
<li><a
href="https://github.com/microsoft/playwright/commit/d32d466f2f78b9fef91358767a3f7af826072537"><code>d32d466</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20998">#20998</a>):
fix: stricter condition for Firefox codegen tests workar...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/31ace756d89fab24eacb814632fa4a1ea0ce0ceb"><code>31ace75</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20973">#20973</a>):
chore: fix cli executable bits</li>
<li><a
href="https://github.com/microsoft/playwright/commit/822227f925f97917f95d60d0144d5985f9e77b9b"><code>822227f</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20969">#20969</a>):
chore: release notes for 1.31 for java, python, csharp</li>
<li><a
href="https://github.com/microsoft/playwright/commit/f276edf8f17fd868558e3d03fcb0c255a4473160"><code>f276edf</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20968">#20968</a>):
docs: Route.fetch.maxRedirects in java (<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20970">#20970</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/b7d36117d1f381f0dc9eda84a949a0fed229bdae"><code>b7d3611</code></a>
cherry-pick(<a
href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/20966">#20966</a>):
fix(docs): move callback of Worker.waitForClose to the e...</li>
<li>Additional commits viewable in <a
href="https://github.com/Microsoft/playwright/compare/v1.30.0...v1.31.0">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.30.0&new-version=1.31.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 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>
  • Loading branch information
dependabot[bot] committed Feb 24, 2023
1 parent 245b446 commit 7823b23
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "playwright test --workers=1"
},
"dependencies": {
"@playwright/test": "^1.30.0",
"@playwright/test": "^1.31.0",
"axios": "^1.3.3"
},
"devDependencies": {
Expand Down
25 changes: 16 additions & 9 deletions integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# yarn lockfile v1


"@playwright/test@^1.30.0":
version "1.30.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.30.0.tgz#8c0c4930ff2c7be7b3ec3fd434b2a3b4465ed7cb"
integrity sha512-SVxkQw1xvn/Wk/EvBnqWIq6NLo1AppwbYOjNLmyU0R1RoQ3rLEBtmjTnElcnz8VEtn11fptj1ECxK0tgURhajw==
"@playwright/test@^1.31.0":
version "1.31.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.31.0.tgz#bde42ca06804164be54893525110adda946248d6"
integrity sha512-Ys5s/06Dg9g3zAIdCIb/UOBYim3U7Zjb3DvC6XBtnRmnglH5O47iwYzmtxXu9fhSyzI2Jn28apkXIOD81GgCdw==
dependencies:
"@types/node" "*"
playwright-core "1.30.0"
playwright-core "1.31.0"
optionalDependencies:
fsevents "2.3.2"

"@types/node@*":
version "18.11.10"
Expand Down Expand Up @@ -55,6 +57,11 @@ form-data@^4.0.0:
combined-stream "^1.0.8"
mime-types "^2.1.12"

fsevents@2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==

mime-db@1.52.0:
version "1.52.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
Expand All @@ -67,10 +74,10 @@ mime-types@^2.1.12:
dependencies:
mime-db "1.52.0"

playwright-core@1.30.0:
version "1.30.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.30.0.tgz#de987cea2e86669e3b85732d230c277771873285"
integrity sha512-7AnRmTCf+GVYhHbLJsGUtskWTE33SwMZkybJ0v6rqR1boxq2x36U7p1vDRV7HO2IwTZgmycracLxPEJI49wu4g==
playwright-core@1.31.0:
version "1.31.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.31.0.tgz#dbd184771535e76c6743ef5c082def5564f07e85"
integrity sha512-/KquBjS5DcASCh8cGeNVHuC0kyb7c9plKTwaKxgOGtxT7+DZO2fjmFvPDBSXslEIK5CeOO/2kk5rOCktFXKEdA==

prettier@^2.8.4:
version "2.8.4"
Expand Down

0 comments on commit 7823b23

Please sign in to comment.