197.json (8127B)
1 { 2 "number": 197, 3 "title": "Bump @playwright/test from 1.21.0 to 1.22.1", 4 "state": "closed", 5 "diff_file": "197.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2022-05-18T08:28:20Z", 8 "closed_at": "2022-05-23T08:38:26Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/playwright/test-1.22.1", 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.21.0 to 1.22.1.\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.22.1</h2>\n<h2>Highlights</h2>\n<p>This patch includes the following bug fixes:</p>\n<p><a href=\"https://github-redirect.dependabot.com/microsoft/playwright/issues/14186\">microsoft/playwright#14186</a> - [BUG] expect.toHaveScreenshot() generates an argument error</p>\n<h2>Browser Versions</h2>\n<ul>\n<li>Chromium 102.0.5005.40</li>\n<li>Mozilla Firefox 99.0.1</li>\n<li>WebKit 15.4</li>\n</ul>\n<p>This version was also tested against the following stable channels:</p>\n<ul>\n<li>Google Chrome 101</li>\n<li>Microsoft Edge 101</li>\n</ul>\n<h2>v1.22.0</h2>\n<h2>Introducing Component Testing (preview)</h2>\n<p>Playwright Test can now test your <a href=\"https://reactjs.org/\">React</a>, <a href=\"https://vuejs.org/\">Vue.js</a> or <a href=\"https://svelte.dev/\">Svelte</a> components. You can use all the features of Playwright Test (such as parallelization, emulation & debugging) while running components in real browsers.</p>\n<p>Here is what a typical component test looks like:</p>\n<pre lang=\"tsx\"><code>// App.spec.tsx\nimport { test, expect } from '@playwright/experimental-ct-react';\nimport App from './App';\n<p>// Let's test component in a dark scheme!\ntest.use({ colorScheme: 'dark' });</p>\n<p>test('should render', async ({ mount }) => {\nconst component = await mount(<App></App>);</p>\n<p>// As with any Playwright test, assert locator text.\nawait expect(component).toContainText('React');\n// Or do a screenshot \ud83d\ude80\nawait expect(component).toHaveScreenshot();\n// Or use any Playwright method\nawait component.click();\n});\n</code></pre></p>\n<p>Read more in <a href=\"https://playwright.dev/docs/test-components\">our documentation</a>.</p>\n<h2>Locators Update</h2>\n<ul>\n<li>Role selectors 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>.</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/28d4804a7052ebfd32ba8189d6c7b2a6f4b211dc\"><code>28d4804</code></a> chore: mark 1.22.1 (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14210\">#14210</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/cce4550cb10144e23a5e688a5ba5f72b55a73c1d\"><code>cce4550</code></a> cherry-pick(<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14200\">#14200</a>): chore: fix wrong toHaveScreenshot defaults in docs (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14201\">#14201</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/263ae4028a14ae83e8324dd602bb3d66ffd0c0f6\"><code>263ae40</code></a> cherry-pick(<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14174\">#14174</a>): fix(types): fix the toHaveScreenshot types (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14194\">#14194</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/9177bd1614f9b76dafce7be64566916baee57597\"><code>9177bd1</code></a> chore: mark v1.22.0 (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14131\">#14131</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/5268dd7196ddcd429b5f0f165b69778b23e84af9\"><code>5268dd7</code></a> docs: add release notes for 1.22 (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14100\">#14100</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/f6712ec43ae7b5f049311d72372dfd676546e968\"><code>f6712ec</code></a> fix(tracing): workaround chromium scrollTop slowness (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14114\">#14114</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/0e2855348cba314de3484364eb926626ca97fbd2\"><code>0e28553</code></a> feat(locators): remove layout locators (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14129\">#14129</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/83d82fa466cfbea401bad9af71999b118b2604c1\"><code>83d82fa</code></a> test: make "outerWidth and outerHeight" test work on small screens (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14124\">#14124</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/f562058805a5238f251c81596fcba604bf4cf1aa\"><code>f562058</code></a> test: make wheel event work on different host dsf (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14123\">#14123</a>)</li>\n<li><a href=\"https://github.com/microsoft/playwright/commit/c5face5ecc7197d63df90ccdfad0e42830945e8b\"><code>c5face5</code></a> test: add more chromium-tip-of-tree bots (<a href=\"https://github-redirect.dependabot.com/Microsoft/playwright/issues/14120\">#14120</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/Microsoft/playwright/compare/v1.21.0...v1.22.1\">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 { 25 "author": "dependabot[bot]", 26 "created_at": "2022-05-23T08:38:25Z", 27 "body": "Superseded by #206." 28 } 29 ], 30 "review_comments": [] 31 }