Skip to content

Commit

Permalink
Bump @playwright/test from 1.43.1 to 1.45.1 in /integration (#7879)
Browse files Browse the repository at this point in the history
Bumps [@playwright/test](https://github.com/microsoft/playwright) from
1.43.1 to 1.45.1.
<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.45.1</h2>
<h3>Highlights</h3>
<p><a
href="https://github.com/microsoft/playwright/issues/31473">microsoft/playwright#31473</a>
- [REGRESSION]: Playwright raises an error ENOENT: no such file or
directory, open 'test-results/.playwright-artifacts-0/hash.zip' with
Electron
<a
href="https://github.com/microsoft/playwright/issues/31442">microsoft/playwright#31442</a>
- [REGRESSION]: Locators of elements changing from/to hidden have
operations hanging when using <code>--disable-web-security</code>
<a
href="https://github.com/microsoft/playwright/issues/31431">microsoft/playwright#31431</a>
- [REGRESSION]: NewTab doesn't work properly with Chrome with
<code>--disable-web-security</code>
<a
href="https://github.com/microsoft/playwright/issues/31425">microsoft/playwright#31425</a>
- [REGRESSION]: beforeEach hooks are not skipped when describe condition
depends on fixtures
<a
href="https://github.com/microsoft/playwright/issues/31491">microsoft/playwright#31491</a>
- [REGRESSION]: <code>@playwright/experimental-ct-react</code> doesn't
work with VSCode extension and PNPM</p>
<h2>Browser Versions</h2>
<ul>
<li>Chromium 127.0.6533.5</li>
<li>Mozilla Firefox 127.0</li>
<li>WebKit 17.4</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 126</li>
<li>Microsoft Edge 126</li>
</ul>
<h2>v1.45.0</h2>
<h2>Clock</h2>
<p>Utilizing the new <a
href="https://playwright.dev/docs/api/class-clock">Clock</a> API allows
to manipulate and control time within tests to verify time-related
behavior. This API covers many common scenarios, including:</p>
<ul>
<li>testing with predefined time;</li>
<li>keeping consistent time and timers;</li>
<li>monitoring inactivity;</li>
<li>ticking through time manually.</li>
</ul>
<pre lang="js"><code>// Initialize clock and let the page load
naturally.
await page.clock.install({ time: new Date('2024-02-02T08:00:00') });
await page.goto('http://localhost:3333');
<p>// Pretend that the user closed the laptop lid and opened it again at
10am,
// Pause the time once reached that point.
await page.clock.pauseAt(new Date('2024-02-02T10:00:00'));</p>
<p>// Assert the page state.
await expect(page.getByTestId('current-time')).toHaveText('2/2/2024,
10:00:00 AM');</p>
<p>// Close the laptop lid again and open it at 10:30am.
await page.clock.fastForward('30:00');
await expect(page.getByTestId('current-time')).toHaveText('2/2/2024,
10:30:00 AM');
</code></pre></p>
<p>See <a href="https://playwright.dev/docs/clock">the clock guide</a>
for more details.</p>
<h2>Test runner</h2>
<ul>
<li>New CLI option <code>--fail-on-flaky-tests</code> that sets exit
code to <code>1</code> upon any flaky tests. Note that by default, the
test runner exits with code <code>0</code> when all failed tests
recovered upon a retry. With this option, the test run will fail in such
case.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/e8989f83d9801cdaadc3803b5341c601c9593947"><code>e8989f8</code></a>
chore: mark v1.45.1 (<a
href="https://github.com/microsoft/playwright/issues/31516">#31516</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1d94caa1038a6b317ac645bfc14df0ac5cc51191"><code>1d94caa</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31496">#31496</a>):
docs(release-notes): fix .NET snippets</li>
<li><a
href="https://github.com/microsoft/playwright/commit/5be51684fbc5c3f4926c30e5bb53b18f5b5312db"><code>5be5168</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31504">#31504</a>):
fix(ct): export package.json</li>
<li><a
href="https://github.com/microsoft/playwright/commit/0fe7a102f3123d3f80dc40a06c9a6d5050cee84a"><code>0fe7a10</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31437">#31437</a>):
fix(electron): tracing with <code>@​playwright/test</code></li>
<li><a
href="https://github.com/microsoft/playwright/commit/4ec4ccf7f39c17979a9deb4b08879bc423131c56"><code>4ec4ccf</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31401">#31401</a>):
chore: .NET generator fixes</li>
<li><a
href="https://github.com/microsoft/playwright/commit/3b4d32e7319c65442ebf3ac9a17936e6f74fae98"><code>3b4d32e</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31458">#31458</a>):
fix(utility): create utility world when web security is ...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/4ccaef69be16ae6ab7bb63772bd023b92548316b"><code>4ccaef6</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31426">#31426</a>):
fix(runner): do not run beforeEach hooks upon skip modifier</li>
<li><a
href="https://github.com/microsoft/playwright/commit/4f3f6eecae490af444dd9298c9eaeb0c596915b7"><code>4f3f6ee</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31421">#31421</a>):
docs: release notes for 1.45</li>
<li><a
href="https://github.com/microsoft/playwright/commit/d557b7b2566ecf4535329810c59b53156c2f476b"><code>d557b7b</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31420">#31420</a>):
docs(java): correctly parse time (<a
href="https://github.com/microsoft/playwright/issues/31422">#31422</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1368bca737c6f26d81913f16e7a0c48b44b374a1"><code>1368bca</code></a>
cherry-pick(<a
href="https://github.com/microsoft/playwright/issues/31419">#31419</a>):
docs: deprecate <code>handle</code> option in
<code>exposeBinding</code></li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.43.1...v1.45.1">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.43.1&new-version=1.45.1)](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesús Miguel Benito Calzada <beni0888@hotmail.com>
  • Loading branch information
dependabot[bot] and beni0888 committed Jul 15, 2024
1 parent 0c57aba commit 8b43c15
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 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.43.1",
"@playwright/test": "^1.45.1",
"axios": "^1.6.8"
},
"devDependencies": {
Expand Down
28 changes: 14 additions & 14 deletions integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# yarn lockfile v1


"@playwright/test@^1.43.1":
version "1.43.1"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.43.1.tgz#16728a59eb8ce0f60472f98d8886d6cab0fa3e42"
integrity sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA==
"@playwright/test@^1.45.1":
version "1.45.1"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.45.1.tgz#819b90fa43d17000fce5ebd127043fd661938b7a"
integrity sha512-Wo1bWTzQvGA7LyKGIZc8nFSTFf2TkthGIFBR+QVNilvwouGzFd4PYukZe3rvf5PSqjHi1+1NyKSDZKcQWETzaA==
dependencies:
playwright "1.43.1"
playwright "1.45.1"

asynckit@^0.4.0:
version "0.4.0"
Expand Down Expand Up @@ -66,17 +66,17 @@ mime-types@^2.1.12:
dependencies:
mime-db "1.52.0"

playwright-core@1.43.1:
version "1.43.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.43.1.tgz#0eafef9994c69c02a1a3825a4343e56c99c03b02"
integrity sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==
playwright-core@1.45.1:
version "1.45.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.45.1.tgz#549a2701556b58245cc75263f9fc2795c1158dc1"
integrity sha512-LF4CUUtrUu2TCpDw4mcrAIuYrEjVDfT1cHbJMfwnE2+1b8PZcFzPNgvZCvq2JfQ4aTjRCCHw5EJ2tmr2NSzdPg==

playwright@1.43.1:
version "1.43.1"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.43.1.tgz#8ad08984ac66c9ef3d0db035be54dd7ec9f1c7d9"
integrity sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==
playwright@1.45.1:
version "1.45.1"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.45.1.tgz#aaa6b0d6db14796b599d80c6679e63444e942534"
integrity sha512-Hjrgae4kpSQBr98nhCj3IScxVeVUixqj+5oyif8TdIn2opTCPEzqAqNMeK42i3cWDCVu9MI+ZsGWw+gVR4ISBg==
dependencies:
playwright-core "1.43.1"
playwright-core "1.45.1"
optionalDependencies:
fsevents "2.3.2"

Expand Down

0 comments on commit 8b43c15

Please sign in to comment.