mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.37.1 to 1.38.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.38.0</h2> <h2>UI Mode Updates</h2> <p><img src="https://github.com/microsoft/playwright/assets/746130/8ba27be0-58fd-4f62-8561-950480610369" alt="Playwright UI Mode" /></p> <ol> <li>Zoom into time range.</li> <li>Network panel redesign.</li> </ol> <h2>New APIs</h2> <ul> <li>[<code>browserContext.on('weberror')</code>]</li> <li>[<code>locator.pressSequentially()</code>]</li> <li>The [<code>reporter.onEnd()</code>] now reports <code>startTime</code> and total run <code>duration</code>.</li> </ul> <h2>Deprecations</h2> <ul> <li>The following methods were deprecated: [<code>page.type()</code>], [<code>frame.type()</code>], [<code>locator.type()</code>] and [<code>elementHandle.type()</code>]. Please use [<code>locator.fill()</code>] instead which is much faster. Use [<code>locator.pressSequentially()</code>] only if there is a special keyboard handling on the page, and you need to press keys one-by-one.</li> <li>The method [<code>expect(value).toMatchSnapshot()</code>] is deprecated in favor of [<code>expect(page).toHaveScreenshot()</code>] and [<code>expect(locator).toHaveScreenshot()</code>].</li> </ul> <h2>Breaking Changes: Playwright no longer downloads browsers automatically</h2> <blockquote> <p>[!NOTE] If you are using <code>@playwright/test</code> package, this change <strong>does not</strong> affect you.</p> </blockquote> <p>Playwright recommends to use <code>@playwright/test</code> package and download browsers via <code>npx playwright install</code> command. If you are following this recommendation, nothing has changed for you.</p> <p>However, up to v1.38, installing the <code>playwright</code> package instead of <code>@playwright/test</code> did automatically download browsers. This is no longer the case, and we recommend to explicitly download browsers via <code>npx playwright install</code> command.</p> <p><strong>v1.37 and earlier</strong></p> <p><code>playwright</code> package was downloading browsers during <code>npm install</code>, while <code>@playwright/test</code> was not.</p> <p><strong>v1.38 and later</strong></p> <p><code>playwright</code> and <code>@playwright/test</code> packages do not download browsers during <code>npm install</code>.</p> <p><strong>Recommended migration</strong></p> <p>Run <code>npx playwright install</code> to download browsers after <code>npm install</code>. For example, in your CI configuration:</p> <pre lang="yml"><code>- run: npm ci - run: npx playwright install --with-deps </code></pre> <p><strong>Alternative migration option - not recommended</strong></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="da997ee8c0"><code>da997ee</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27067">#27067</a>): docs: fix line wrapping in release notes</li> <li><a href="94b6fe1bdb"><code>94b6fe1</code></a> chore: mark 1.38.0 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27030">#27030</a>)</li> <li><a href="55cf8eae25"><code>55cf8ea</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27028">#27028</a>): docs: add release notes for 1.38</li> <li><a href="a0a099fe4a"><code>a0a099f</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27049">#27049</a>): feat(webkit): roll to r1908 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27055">#27055</a>)</li> <li><a href="cd8b12c0d5"><code>cd8b12c</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27041">#27041</a>): feat(chromium): roll to r1080 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27045">#27045</a>)</li> <li><a href="9981f1418a"><code>9981f14</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27008">#27008</a>): chore: polish ui mode for better mac appearance</li> <li><a href="5f78f27a7a"><code>5f78f27</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27006">#27006</a>): chore: document new onEnd params</li> <li><a href="7c838653d6"><code>7c83865</code></a> chore: fix the split view, reset window on timeline click (<a href="https://redirect.github.com/Microsoft/playwright/issues/27007">#27007</a>)</li> <li><a href="d9eabda09d"><code>d9eabda</code></a> fix(locators): escape quotes in regular expressions (<a href="https://redirect.github.com/Microsoft/playwright/issues/27002">#27002</a>)</li> <li><a href="6bbc09c96c"><code>6bbc09c</code></a> chore: show channel name in trace viewer metadata (<a href="https://redirect.github.com/Microsoft/playwright/issues/26987">#26987</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.37.1...v1.38.0">compare view</a></li> </ul> </details> <br /> [](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: ionitron <hi@ionicframework.com> Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>