Skip to content

Commit

Permalink
Bump @playwright/test from 1.47.1 to 1.48.0 in /tests/playwright (#303)
Browse files Browse the repository at this point in the history
Bumps [@playwright/test](https://github.com/microsoft/playwright) from
1.47.1 to 1.48.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.48.0</h2>
<h2>WebSocket routing</h2>
<p>New methods <a
href="https://playwright.dev/docs/api/class-page#page-route-web-socket">page.routeWebSocket()</a>
and <a
href="https://playwright.dev/docs/api/class-browsercontext#browser-context-route-web-socket">browserContext.routeWebSocket()</a>
allow to intercept, modify and mock WebSocket connections initiated in
the page. Below is a simple example that mocks WebSocket communication
by responding to a <code>&quot;request&quot;</code> with a
<code>&quot;response&quot;</code>.</p>
<pre lang="js"><code>await page.routeWebSocket('/ws', ws =&gt; {
  ws.onMessage(message =&gt; {
    if (message === 'request')
      ws.send('response');
  });
});
</code></pre>
<p>See <a
href="https://playwright.dev/docs/api/class-websocketroute">WebSocketRoute</a>
for more details.</p>
<h2>UI updates</h2>
<ul>
<li>New &quot;copy&quot; buttons for annotations and test location in
the HTML report.</li>
<li>Route method calls like <a
href="https://playwright.dev/docs/api/class-route#route-fulfill">route.fulfill()</a>
are not shown in the report and trace viewer anymore. You can see which
network requests were routed in the network tab instead.</li>
<li>New &quot;Copy as cURL&quot; and &quot;Copy as fetch&quot; buttons
for requests in the network tab.</li>
</ul>
<h2>Miscellaneous</h2>
<ul>
<li>Option <a
href="https://playwright.dev/docs/api/class-apirequestcontext#api-request-context-fetch-option-form"><code>form</code></a>
and similar ones now accept <a
href="https://playwright.dev/docs/api/class-formdata">FormData</a>.</li>
<li>New method <a
href="https://playwright.dev/docs/api/class-page#page-request-gc">page.requestGC()</a>
may help detect memory leaks.</li>
<li>New option <a
href="https://playwright.dev/docs/api/class-test#test-step-option-location"><code>location</code></a>
to pass custom step location.</li>
<li>Requests made by <a
href="https://playwright.dev/docs/api/class-apirequestcontext">APIRequestContext</a>
now record detailed timing and security information in the HAR.</li>
</ul>
<h2>Browser Versions</h2>
<ul>
<li>Chromium 130.0.6723.19</li>
<li>Mozilla Firefox 130.0</li>
<li>WebKit 18.0</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 129</li>
<li>Microsoft Edge 129</li>
</ul>
<h2>v1.47.2</h2>
<h3>Highlights</h3>
<p><a
href="https://redirect.github.com/microsoft/playwright/pull/32699-">microsoft/playwright#32699</a>
[REGRESSION]: fix(codegen): use content_frame property in python/.NET
<a
href="https://redirect.github.com/microsoft/playwright/issues/32706-">microsoft/playwright#32706</a>
[REGRESSION]: page.pause() does not pause test timeout after 1.47
<a
href="https://redirect.github.com/microsoft/playwright/pull/32661">microsoft/playwright#32661</a>
- fix(trace-viewer): time delta between local and remote actions</p>
<h2>Browser Versions</h2>
<ul>
<li>Chromium 129.0.6668.29</li>
<li>Mozilla Firefox 130.0</li>
<li>WebKit 18.0</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 128</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/0cdbb11068f86671c05d57391ac3701610f853df"><code>0cdbb11</code></a>
chore: mark v1.48.0 (<a
href="https://redirect.github.com/microsoft/playwright/issues/33009">#33009</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/ca368d43fa310e80067faca73afe18fc52949ed1"><code>ca368d4</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32991">#32991</a>):
fix(routeWebSocket): do not show in the trace (<a
href="https://redirect.github.com/microsoft/playwright/issues/33004">#33004</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/c329c5c1ec6e7bddc7f8f67dcf27c8cc6769d7af"><code>c329c5c</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/33005">#33005</a>):
chore(driver): roll driver to recent Node.js LTS version</li>
<li><a
href="https://github.com/microsoft/playwright/commit/97aaa12be46f211d94559c8dcadc33052c45bac2"><code>97aaa12</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32956">#32956</a>):
fix(fetch): listener leaks on Socket</li>
<li><a
href="https://github.com/microsoft/playwright/commit/0c17732e91a7400fd11030b57ff60e624ff5a814"><code>0c17732</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32949">#32949</a>):
feat(chromium): roll to r1140</li>
<li><a
href="https://github.com/microsoft/playwright/commit/530f04304e90bbab73128b4601d449dadc4aa3cb"><code>530f043</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32938">#32938</a>):
feat(firefox): roll to r1465</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1054930edd066847d2a6a2e1fa9b9164855d3f6c"><code>1054930</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32924">#32924</a>):
docs: fix Java/.NET types for docs rolling</li>
<li><a
href="https://github.com/microsoft/playwright/commit/e732f68eeeef74fe843fed45ad0e59390cb030fb"><code>e732f68</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32906">#32906</a>):
feat(chromium): roll to r1139</li>
<li><a
href="https://github.com/microsoft/playwright/commit/dfa0e8bf356e8d9ff636e4bb239c6a648822cb85"><code>dfa0e8b</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32905">#32905</a>):
chore: remove 'screenshot instead of snapshot' usages</li>
<li><a
href="https://github.com/microsoft/playwright/commit/7155356e3cee47eb51d7cb1c2bc42e82cdfc8dcf"><code>7155356</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/32880">#32880</a>):
chore: unflake 'should record'</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.47.1...v1.48.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.47.1&new-version=1.48.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 Oct 10, 2024
1 parent 296b1ce commit bf7c384
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions tests/playwright/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@cspell/eslint-plugin": "^8.9.1",
"@eslint/js": "8.57.0",
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.48.0",
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.2.0",
Expand Down

0 comments on commit bf7c384

Please sign in to comment.