Skip to content

Commit 1f0c804

Browse files
chore(deps-dev): Bump @playwright/test from 1.34.3 to 1.35.0 in /core (#27625)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.34.3 to 1.35.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.35.0</h2> <h3>Highlights</h3> <ul> <li> <p>UI mode is now available in VSCode Playwright extension via a new &quot;Show trace viewer&quot; button:</p> <p><img src="https://github.com/microsoft/playwright/assets/746130/13094128-259b-477a-8bbb-c1181178e8a2" alt="Playwright UI Mode" /></p> </li> <li> <p>UI mode and trace viewer mark network requests handled with <a href="https://playwright.dev/docs/api/class-page#page-route"><code>page.route()</code></a> and <a href="https://playwright.dev/docs/api/class-browsercontext#browser-context-route"><code>browserContext.route()</code></a> handlers, as well as those issued via the <a href="https://playwright.dev/docs/api-testing">API testing</a>:</p> <p><img src="https://github.com/microsoft/playwright/assets/746130/0df2d4b6-faa3-465c-aff3-c435b430bfe1" alt="Trace Viewer" /></p> </li> <li> <p>New option <code>maskColor</code> for methods <a href="https://playwright.dev/docs/api/class-page#page-screenshot"><code>page.screenshot()</code></a>, <a href="https://playwright.dev/docs/api/class-locator#locator-screenshot"><code>locator.screenshot()</code></a>, <a href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-screenshot-1"><code>expect(page).toHaveScreenshot()</code></a> and <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1"><code>expect(locator).toHaveScreenshot()</code></a> to change default masking color:</p> <pre lang="js"><code>await page.goto('https://playwright.dev'); await expect(page).toHaveScreenshot({ mask: [page.locator('img')], maskColor: '#00FF00', // green }); </code></pre> </li> <li> <p>New <code>uninstall</code> CLI command to uninstall browser binaries:</p> <pre lang="bash"><code>$ npx playwright uninstall # remove browsers installed by this installation $ npx playwright uninstall --all # remove all ever-install Playwright browsers </code></pre> </li> <li> <p>Both UI mode and trace viewer now could be opened in a browser tab:</p> <pre lang="bash"><code>$ npx playwright test --ui-port 0 # open UI mode in a tab on a random port $ npx playwright show-trace --port 0 # open trace viewer in tab on a random port </code></pre> </li> </ul> <h3>⚠️ Breaking changes</h3> <ul> <li> <p><code>playwright-core</code> binary got renamed from <code>playwright</code> to <code>playwright-core</code>. So if you use <code>playwright-core</code> CLI, make sure to update the name:</p> <pre lang="bash"><code>$ npx playwright-core install # the new way to install browsers when using playwright-core </code></pre> <p>This change <strong>does not</strong> affect <code>@playwright/test</code> and <code>playwright</code> package users.</p> </li> </ul> <h3>Browser Versions</h3> <ul> <li>Chromium 115.0.5790.13</li> <li>Mozilla Firefox 113.0</li> <li>WebKit 16.4</li> </ul> <p>This version was also tested against the following stable channels:</p> <ul> <li>Google Chrome 114</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/a2798c3221f7ae8ce878dcabc18b4147435082c0"><code>a2798c3</code></a> chore: mark 1.35.0 (<a href="https://redirect.github.com/Microsoft/playwright/issues/23581">#23581</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/745e2009cf1a9a5416188249378f624c8bb8522e"><code>745e200</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/23606">#23606</a>) docs: fix images for release notes</li> <li><a href="https://github.com/microsoft/playwright/commit/f28d1560394c04cd6d66095c9e3b94a7d30dcfdc"><code>f28d156</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/23582">#23582</a>): docs: enhance UI mode docs (<a href="https://redirect.github.com/Microsoft/playwright/issues/23604">#23604</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/3e94abe1d9525dfa607b49ba80c5b35c2e48638e"><code>3e94abe</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/23593">#23593</a>): feat(chromium): roll to r1067 (<a href="https://redirect.github.com/Microsoft/playwright/issues/23599">#23599</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/f411348fa20ac86c52efeddcd82dc7e06090b557"><code>f411348</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/23583">#23583</a>): chore: do not show select item when Show trace</li> <li><a href="https://github.com/microsoft/playwright/commit/e0c4576e29af39131e866e38ef120873329efdae"><code>e0c4576</code></a> docs: add a note about CodeSpaces UI mode (<a href="https://redirect.github.com/Microsoft/playwright/issues/23580">#23580</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/4f8680f7a39347e033631aaa6010998ad8eddbce"><code>4f8680f</code></a> fix(pause): revert timeouts after pause (<a href="https://redirect.github.com/Microsoft/playwright/issues/23578">#23578</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/eda109388ed39b2c366eebc96ed51efade90c3c6"><code>eda1093</code></a> docs: js release notes 1.35 (<a href="https://redirect.github.com/Microsoft/playwright/issues/23560">#23560</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/7d2201561f743da83899ffda366f803fc1020b47"><code>7d22015</code></a> chore(devops): add check status for report merger to PRs (<a href="https://redirect.github.com/Microsoft/playwright/issues/23564">#23564</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/0b30f2017cc05f23754ca11f4c42b787f573428e"><code>0b30f20</code></a> chore: make trace server work over http (<a href="https://redirect.github.com/Microsoft/playwright/issues/23561">#23561</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.34.3...v1.35.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.34.3&new-version=1.35.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3e191df commit 1f0c804

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

core/package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@ionic/eslint-config": "^0.3.0",
4141
"@ionic/prettier-config": "^2.0.0",
4242
"@jest/core": "^27.5.1",
43-
"@playwright/test": "^1.34.3",
43+
"@playwright/test": "^1.35.0",
4444
"@rollup/plugin-node-resolve": "^8.4.0",
4545
"@rollup/plugin-virtual": "^2.0.3",
4646
"@stencil/angular-output-target": "^0.7.1",

0 commit comments

Comments
 (0)