Skip to content

Commit

Permalink
Build(deps-dev): Bump com.microsoft.playwright:playwright from 1.48.0…
Browse files Browse the repository at this point in the history
… to 1.49.0 (#967)

Bumps
[com.microsoft.playwright:playwright](https://github.com/microsoft/playwright-java)
from 1.48.0 to 1.49.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright-java/releases">com.microsoft.playwright:playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.49.0</h2>
<h2>Aria snapshots</h2>
<p>New assertion <a
href="https://playwright.dev/java/docs/api/class-locatorassertions#locator-assertions-to-match-aria-snapshot">assertThat(locator).matchesAriaSnapshot()</a>
verifies page structure by comparing to an expected accessibility tree,
represented as YAML.</p>
<pre
lang="java"><code>page.navigate(&quot;https://playwright.dev&quot;);

assertThat(page.locator(&quot;body&quot;)).matchesAriaSnapshot(&quot;&quot;&quot;
  - banner:
    - heading /Playwright enables reliable/ [level=1]
    - link &quot;Get started&quot;
    - link &quot;Star microsoft/playwright on GitHub&quot;
  - main:
    - img &quot;Browsers (Chromium, Firefox, WebKit)&quot;
    - heading &quot;Any browser • Any platform • One API&quot;
&quot;&quot;&quot;);
</code></pre>
<p>You can generate this assertion with <a
href="https://playwright.dev/java/docs/codegen">Test Generator</a> or by
calling <a
href="https://playwright.dev/java/docs/api/class-locator#locator-aria-snapshot">locator.ariaSnapshot()</a>.</p>
<p>Learn more in the <a
href="https://playwright.dev/java/docs/aria-snapshots">aria snapshots
guide</a>.</p>
<h2>Tracing groups</h2>
<p>New method <a
href="https://playwright.dev/java/docs/api/class-tracing#tracing-group">tracing.group()</a>
allows you to visually group actions in the trace viewer.</p>
<pre lang="java"><code>// All actions between group and groupEnd
// will be shown in the trace viewer as a group.
page.context().tracing().group(&quot;Open Playwright.dev &gt;
API&quot;);
page.navigate(&quot;https://playwright.dev/&quot;);
page.getByRole(AriaRole.LINK, new
Page.GetByRoleOptions().setName(&quot;API&quot;)).click();
page.context().tracing().groupEnd();
</code></pre>
<h2>Breaking: <code>chrome</code> and <code>msedge</code> channels
switch to new headless mode</h2>
<p>This change affects you if you're using one of the following channels
in your <code>playwright.config.ts</code>:</p>
<ul>
<li><code>chrome</code>, <code>chrome-dev</code>,
<code>chrome-beta</code>, or <code>chrome-canary</code></li>
<li><code>msedge</code>, <code>msedge-dev</code>,
<code>msedge-beta</code>, or <code>msedge-canary</code></li>
</ul>
<p>After updating to Playwright v1.49, run your test suite. If it still
passes, you're good to go. If not, you will probably need to update your
snapshots, and adapt some of your test code around PDF viewers and
extensions. See [issue <a
href="https://redirect.github.com/microsoft/playwright-java/issues/33566">#33566</a>](<a
href="https://redirect.github.com/microsoft/playwright/issues/33566">microsoft/playwright#33566</a>)
for more details.</p>
<h2>Try new Chromium headless</h2>
<p>You can opt into the new headless mode by using
<code>'chromium'</code> channel. As <a
href="https://developer.chrome.com/blog/chrome-headless-shell">official
Chrome documentation puts it</a>:</p>
<blockquote>
<p>New Headless on the other hand is the real Chrome browser, and is
thus more authentic, reliable, and offers more features. This makes it
more suitable for high-accuracy end-to-end web app testing or browser
extension testing.</p>
</blockquote>
<p>See [issue <a
href="https://redirect.github.com/microsoft/playwright-java/issues/33566">#33566</a>](<a
href="https://redirect.github.com/microsoft/playwright/issues/33566">microsoft/playwright#33566</a>)
for the list of possible breakages you could encounter and more details
on Chromium headless. Please file an issue if you see any problems after
opting in.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright-java/commit/cec4d663e94c131d85facbaffec7001f02a59f27"><code>cec4d66</code></a>
chore: set release version to 1.49.0 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1703">#1703</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/2ff37da5f56afb71fa9741326491eb23891f065b"><code>2ff37da</code></a>
chore: mark 1.50 snapshot (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1702">#1702</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/ee99afc3a3b6520b81ff9f10f33145eb3a972c24"><code>ee99afc</code></a>
chore: print actual message for TestBrowserContextCDPSession.shouldDe…
(<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1701">#1701</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/34017a26a3d7f4663d6735b70f7a22b46d5e4a22"><code>34017a2</code></a>
chore: roll 1.49.0 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1700">#1700</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/29f58a5840887ef0f0e4b69b00462733ef32b96a"><code>29f58a5</code></a>
test: unflake TestPageClock (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1699">#1699</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/d2d78a7299c8bd6213ff3c84f0273aec9c441984"><code>d2d78a7</code></a>
chore: stop using microsoft/playwright-github-action@v1 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1698">#1698</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/6e66ee7c357691046e288db228aaaf5a7a64e1ff"><code>6e66ee7</code></a>
chore: roll 1.49-beta (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1697">#1697</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/4bda800e11cc52651b7e424470e4d1199dacbad7"><code>4bda800</code></a>
chore(deps): bump the all group with 4 updates (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1695">#1695</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/2cce9776be1c8cee5d3b2e13f031073cabcfa309"><code>2cce977</code></a>
devops: stop publishing Ubuntu 20.04 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1690">#1690</a>)</li>
<li>See full diff in <a
href="https://github.com/microsoft/playwright-java/compare/v1.48.0...v1.49.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.microsoft.playwright:playwright&package-manager=maven&previous-version=1.48.0&new-version=1.49.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>
  • Loading branch information
derTobsch authored Nov 25, 2024
2 parents 124ec49 + 443220f commit 3e3438a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.48.0</version>
<version>1.49.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 3e3438a

Please sign in to comment.