98.json (9758B)
1 { 2 "number": 98, 3 "title": "Bump @playwright/test from 1.19.2 to 1.20.0", 4 "state": "merged", 5 "diff_file": "98.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2022-03-15T08:55:13Z", 8 "closed_at": "2022-03-21T21:38:24Z", 9 "merged_at": "2022-03-21T21:38:24Z", 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/playwright/test-1.20.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.19.2 to 1.20.0.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/Microsoft/playwright/releases\"><code>@\u200bplaywright/test</code>'s releases</a>.</em></p>\n<blockquote>\n<h2>v1.20.0</h2>\n<h2>Highlights</h2>\n<ul>\n<li>\n<p>New options 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> and <a href=\"https://playwright.dev/docs/api/class-elementhandle#element-handle-screenshot\"><code>elementHandle.screenshot()</code></a>:</p>\n<ul>\n<li>Option <code>animations: "disabled"</code> rewinds all CSS animations and transitions to a consistent state.</li>\n<li>Option <code>mask: Locator[]</code> masks given elements, overlaying them with pink <code>#FF00FF</code> boxes.</li>\n</ul>\n</li>\n<li>\n<p><a href=\"https://playwright.dev/docs/test-assertions#screenshot-assertions-to-match-snapshot\"><code>expect().toMatchSnapshot()</code></a> now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one\nautomatically:</p>\n<pre lang=\"js\"><code>expect('Web is Awesome <3').toMatchSnapshot();\n</code></pre>\n</li>\n<li>\n<p>New <code>maxDiffPixels</code> and <code>maxDiffPixelRatio</code> options for fine-grained screenshot comparison using <a href=\"https://playwright.dev/docs/test-assertions#screenshot-assertions-to-match-snapshot\"><code>expect().toMatchSnapshot()</code></a>:</p>\n<pre lang=\"js\"><code>expect(await page.screenshot()).toMatchSnapshot({\n maxDiffPixels: 27, // allow no more than 27 different pixels.\n});\n</code></pre>\n<p>It is most convenient to specify <code>maxDiffPixels</code> or <code>maxDiffPixelRatio</code> once in <a href=\"https://playwright.dev/docs/api/class-testconfig#test-config-expect\"><code>TestConfig.expect</code></a>.</p>\n</li>\n<li>\n<p>Playwright Test now adds <a href=\"https://playwright.dev/docs/api/class-testconfig#test-config-fully-parallel\"><code>TestConfig.fullyParallel</code></a> mode. By default, Playwright Test parallelizes between files. In fully parallel mode, tests inside a single file are also run in parallel. You can also use <code>--fully-parallel</code> command line flag.</p>\n<pre lang=\"ts\"><code>// playwright.config.ts\nexport default {\n fullyParallel: true,\n};\n</code></pre>\n</li>\n<li>\n<p><a href=\"https://playwright.dev/docs/api/class-testproject#test-project-grep\"><code>TestProject.grep</code></a> and <a href=\"https://playwright.dev/docs/api/class-testproject#test-project-grep-invert\"><code>TestProject.grepInvert</code></a> are now configurable per project. For example, you can now\nconfigure smoke tests project using <code>grep</code>:</p>\n<pre lang=\"ts\"><code>// playwright.config.ts\nexport default {\n projects: [\n {\n name: 'smoke tests',\n grep: '@smoke',\n },\n ],\n};\n</code></pre>\n</li>\n<li>\n<p><a href=\"https://playwright.dev/docs/trace-viewer\">Trace Viewer</a> now shows <a href=\"https://playwright.dev/docs/test-api-testing\">API testing requests</a>.</p>\n</li>\n<li>\n<p><a href=\"https://playwright.dev/docs/api/class-locator#locator-highlight\"><code>locator.highlight()</code></a> visually reveals element(s) for easier debugging.</p>\n</li>\n</ul>\n<h2>Announcements</h2>\n<ul>\n<li>We now ship a designated Python docker image <code>mcr.microsoft.com/playwright/python</code>. Please switch over to it if you use Python. This is the last release that includes Python inside our javascript <code>mcr.microsoft.com/playwright</code> docker image.</li>\n<li>v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit!</li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/microsoft/playwright/commit/16c4ae08317b0338d5bb1b62d57b140294b7996a\"><code>16c4ae0</code></a> cherry-pick(1.20): docs: fix broken release-notes links (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12749\">#12749</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/eab96de6e4dc78d925153fd630414d31832db1ef\"><code>eab96de</code></a> chore: mark v1.20.0 (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12600\">#12600</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/f9ea3d53bcdbdabc306265ed91a0458551a87afc\"><code>f9ea3d5</code></a> cherry-pick(<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12596\">#12596</a>): add release notes for all other languages (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12745\">#12745</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/cf1a60bce8ae7be24ea1434daa369a27211223d9\"><code>cf1a60b</code></a> chore: pull <code>expect.toHaveScreenshot()</code> from 1.20 release (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12702\">#12702</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/4897967780d6c784912fec919cdb63830263797e\"><code>4897967</code></a> cherry-pick(<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12627\">#12627</a>): bring back maxDiffPixels in toMatchSnapshot (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12701\">#12701</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/97bca5c43184f7346c442f1bd1bcd240e6df368a\"><code>97bca5c</code></a> cherry-pick(1.20): recent assertion docs changes (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12696\">#12696</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/b72860959203fe2213b167130951d96363595202\"><code>b728609</code></a> cherry-pick(1.20): fix(test-runner): ESM compatibly on Windows (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12653\">#12653</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/2531c590bc26571d1d2e635296dc4154aa9d7382\"><code>2531c59</code></a> cherry-pick(1.20): add missing dependency on Ubuntu 18.04 (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12626\">#12626</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/503dc782b604dbc58a409e41950cd233bce54ccb\"><code>503dc78</code></a> cherry-pick(1.20): add name for screenshot animations option (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12608\">#12608</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/84f36df41574630782bd5ce2adf10796c77a4a5d\"><code>84f36df</code></a> cherry-pick(1.20): update POM guide (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12598\">#12598</a>) (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/12607\">#12607</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/Microsoft/playwright/compare/v1.19.2...v1.20.0\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>", 23 "comments": [], 24 "review_comments": [] 25 }