matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

144.md (8771B)


      1 # PR #144 Bump @playwright/test from 1.20.0 to 1.21.0
      2 
      3 - **Status:** merged
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2022-04-13T08:34:05Z
      6 - **Branch:** dependabot/npm_and_yarn/playwright/test-1.21.0 → main
      7 - **Merged:** 2022-04-18T09:50:54Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [144.diff](./144.diff)
     12 
     13 ---
     14 
     15 Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.20.0 to 1.21.0.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/Microsoft/playwright/releases"><code>@​playwright/test</code>'s releases</a>.</em></p>
     19 <blockquote>
     20 <h2>v1.21.0</h2>
     21 <h2>Highlights</h2>
     22 <ul>
     23 <li>
     24 <p>New <strong>experimental</strong> role selectors that allow selecting elements by their <a href="https://www.w3.org/TR/wai-aria-1.2/#roles">ARIA role</a>, <a href="https://www.w3.org/TR/wai-aria-1.2/#aria-attributes">ARIA attributes</a> and <a href="https://w3c.github.io/accname/#dfn-accessible-name">accessible name</a>.</p>
     25 <pre lang="js"><code>// Click a button with accessible name &quot;log in&quot;
     26 await page.click('role=button[name=&quot;log in&quot;]')
     27 </code></pre>
     28 <p>To use role selectors, make sure to pass <code>PLAYWRIGHT_EXPERIMENTAL_FEATURES=1</code> environment variable:</p>
     29 <pre lang="js"><code>// playwright.config.js
     30 process.env.PLAYWRIGHT_EXPERIMENTAL_FEATURES = '1';
     31 module.exports = {
     32   /* ... */
     33 };
     34 </code></pre>
     35 <p>Read more in <a href="https://playwright.dev/docs/selectors#role-selector">our documentation</a>.</p>
     36 </li>
     37 <li>
     38 <p>New <code>scale</code> option in <a href="https://playwright.dev/docs/api/class-page#page-screenshot"><code>Page.screenshot</code></a> for smaller sized screenshots.</p>
     39 </li>
     40 <li>
     41 <p>New <code>caret</code> option in <a href="https://playwright.dev/docs/api/class-page#page-screenshot"><code>Page.screenshot</code></a> to control text caret. Defaults to <code>&quot;hide&quot;</code>.</p>
     42 </li>
     43 <li>
     44 <p>New method <code>expect.poll</code> to wait for an arbitrary condition:</p>
     45 <pre lang="js"><code>// Poll the method until it returns an expected result.
     46 await expect.poll(async () =&gt; {
     47   const response = await page.request.get('https://api.example.com');
     48   return response.status();
     49 }).toBe(200);
     50 </code></pre>
     51 <p><code>expect.poll</code> supports most synchronous matchers, like <code>.toBe()</code>, <code>.toContain()</code>, etc.
     52 Read more in <a href="https://playwright.dev/docs/test-assertions#polling">our documentation</a>.</p>
     53 </li>
     54 </ul>
     55 <h2>Behavior Changes</h2>
     56 <ul>
     57 <li>ESM support when running TypeScript tests is now enabled by default. The <code>PLAYWRIGHT_EXPERIMENTAL_TS_ESM</code> env variable is
     58 no longer required.</li>
     59 <li>The <code>mcr.microsoft.com/playwright</code> docker image no longer contains Python. Please use <code>mcr.microsoft.com/playwright/python</code>
     60 as a Playwright-ready docker image with pre-installed Python.</li>
     61 <li>Playwright now supports large file uploads (100s of MBs) via <a href="https://playwright.dev/docs/api/class-locator#locator-set-input-files"><code>Locator.setInputFiles</code></a> API.</li>
     62 </ul>
     63 <h2>Browser Versions</h2>
     64 <ul>
     65 <li>Chromium 101.0.4951.26</li>
     66 <li>Mozilla Firefox 98.0.2</li>
     67 <li>WebKit 15.4</li>
     68 </ul>
     69 <!-- raw HTML omitted -->
     70 </blockquote>
     71 <p>... (truncated)</p>
     72 </details>
     73 <details>
     74 <summary>Commits</summary>
     75 <ul>
     76 <li><a href="https://github.com/microsoft/playwright/commit/953003882ae6b73c3f69dd0862a7a6e2943072e1"><code>9530038</code></a> chore: mark v1.21.0 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13416">#13416</a>)</li>
     77 <li><a href="https://github.com/microsoft/playwright/commit/02f4cfd4d772198fb747a3b931a72ecb735fa267"><code>02f4cfd</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13491">#13491</a>): release notes for 1.21 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13493">#13493</a>)</li>
     78 <li><a href="https://github.com/microsoft/playwright/commit/414cc9b769c1939763d66a320480446d57567825"><code>414cc9b</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13487">#13487</a>): do not require <code>--force</code> flag when installing channel on...</li>
     79 <li><a href="https://github.com/microsoft/playwright/commit/fe8dad0ac274ddb693f1755c067358246d9db485"><code>fe8dad0</code></a> docs: mark fetch params as optional again (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13479">#13479</a>) (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13480">#13480</a>)</li>
     80 <li><a href="https://github.com/microsoft/playwright/commit/9dbc124d9895acad26d7349cdb444f1ced03365c"><code>9dbc124</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13464">#13464</a>): fix test.step return type docs (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13478">#13478</a>)</li>
     81 <li><a href="https://github.com/microsoft/playwright/commit/1756566b17dda2c6900684aef44de7f7e6c8d90c"><code>1756566</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13443">#13443</a>, <a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13407">#13407</a>): feat(webkit): roll to r1630 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13476">#13476</a>)</li>
     82 <li><a href="https://github.com/microsoft/playwright/commit/06d100ddcff312ed79a35a835a0bafbba4c1c726"><code>06d100d</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13437">#13437</a>): chore: flatten supplements</li>
     83 <li><a href="https://github.com/microsoft/playwright/commit/bb810f5a09c9cccfc887ff6bc21e66f4fdb9a6c3"><code>bb810f5</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13431">#13431</a>): docs(java): clarify source list format (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13434">#13434</a>)</li>
     84 <li><a href="https://github.com/microsoft/playwright/commit/ee0119f50338972e1b24a808dc8a343e62864149"><code>ee0119f</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13425">#13425</a>): docs(dotnet): fix broken generated docs links (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13430">#13430</a>)</li>
     85 <li><a href="https://github.com/microsoft/playwright/commit/14a241e900c26b97e0c1a2ae8fd4198c27991295"><code>14a241e</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/13417">#13417</a>): chore: use utils via index export (6)</li>
     86 <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.20.0...v1.21.0">compare view</a></li>
     87 </ul>
     88 </details>
     89 <br />
     90 
     91 
     92 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@playwright/test&package-manager=npm_and_yarn&previous-version=1.20.0&new-version=1.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
     93 
     94 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`.
     95 
     96 [//]: # (dependabot-automerge-start)
     97 [//]: # (dependabot-automerge-end)
     98 
     99 ---
    100 
    101 <details>
    102 <summary>Dependabot commands and options</summary>
    103 <br />
    104 
    105 You can trigger Dependabot actions by commenting on this PR:
    106 - `@dependabot rebase` will rebase this PR
    107 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    108 - `@dependabot merge` will merge this PR after your CI passes on it
    109 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    110 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    111 - `@dependabot reopen` will reopen this PR if it is closed
    112 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    113 - `@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)
    114 - `@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)
    115 - `@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)
    116 
    117 
    118 </details>
    119