65.md (8104B)
1 # PR #65 Bump @playwright/test from 1.18.1 to 1.19.0 2 3 - **Status:** merged 4 - **Author:** @dependabot[bot] 5 - **Created:** 2022-02-14T08:34:09Z 6 - **Branch:** dependabot/npm_and_yarn/playwright/test-1.19.0 → main 7 - **Merged:** 2022-02-14T09:12:31Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [65.diff](./65.diff) 12 13 --- 14 15 Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.18.1 to 1.19.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.19.0</h2> 21 <h2>Version 1.19</h2> 22 <h3>Playwright Test Updates</h3> 23 <h4>Soft assertions</h4> 24 <p>Playwright Test v1.19 now supports <strong>soft assertions</strong>. Failed soft assertions <strong>do not</strong> terminate test execution, but mark the test as failed. Read more in <a href="https://playwright.dev/docs/test-assertions#soft-assertions">our documentation</a>.</p> 25 <pre lang="js"><code>// Make a few checks that will not stop the test when failed... 26 await expect.soft(page.locator('#status')).toHaveText('Success'); 27 await expect.soft(page.locator('#eta')).toHaveText('1 day'); 28 <p>// ... and continue the test to check more things. 29 await page.locator('#next-page').click(); 30 await expect.soft(page.locator('#title')).toHaveText('Make another order'); 31 </code></pre></p> 32 <h4>Custom error messages</h4> 33 <p>You can now specify a <a href="https://playwright.dev/docs/test-assertions#custom-error-message"><strong>custom error message</strong></a> as a second argument to the <code>expect</code> and <code>expect.soft</code> functions, for example:</p> 34 <pre lang="js"><code>await expect(page.locator('text=Name'), 'should be logged in').toBeVisible(); 35 </code></pre> 36 <p>The error would look like this:</p> 37 <pre lang="bash"><code> Error: should be logged in 38 <pre><code>Call log: 39 - expect.toBeVisible with timeout 5000ms 40 - waiting for selector &quot;text=Name&quot; 41 42 43 2 | 44 3 | test('example test', async({ page }) =&gt; { 45 &gt; 4 | await expect(page.locator('text=Name'), 'should be logged in').toBeVisible(); 46 | ^ 47 5 | }); 48 6 | 49 </code></pre> 50 <p></code></pre></p> 51 <h4>Parallel mode in file</h4> 52 <p>By default, tests in a single file are run in order. If you have many independent tests in a single file, you can now 53 run them in parallel with <a href="https://playwright.dev/docs/api/class-test#test-describe-configure"><code>method: test.describe.configure</code></a>:</p> 54 <pre lang="js"><code>import { test } from '@playwright/test'; 55 <p></tr></table> 56 </code></pre></p> 57 </blockquote> 58 <p>... (truncated)</p> 59 </details> 60 <details> 61 <summary>Commits</summary> 62 <ul> 63 <li><a href="https://github.com/microsoft/playwright/commit/03501cfdb2d9ba510150077ea721cdb716b6d0ba"><code>03501cf</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12048">#12048</a>): tests: fix installation tests (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12050">#12050</a>)</li> 64 <li><a href="https://github.com/microsoft/playwright/commit/241add240cbbbdcfcd995aa176c81539aebd790d"><code>241add2</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12025">#12025</a>): chore(dotnet): do not use global CLI and use ps1 instead...</li> 65 <li><a href="https://github.com/microsoft/playwright/commit/92aa600af211a2205133eba49bcb3438bb9fc1f8"><code>92aa600</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12045">#12045</a>): docs: add release notes for all the languages (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12046">#12046</a>)</li> 66 <li><a href="https://github.com/microsoft/playwright/commit/c098cafb7aae1d16b6995b566392d2d0db54b26d"><code>c098caf</code></a> cherry-pick(release-1.19): chore: fix .NET generation script for .NET 6 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12041">#12041</a>)</li> 67 <li><a href="https://github.com/microsoft/playwright/commit/aafaa2b9edc8745f9b87fad17d0251980611573a"><code>aafaa2b</code></a> chore: mark v1.19.0 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/11981">#11981</a>)</li> 68 <li><a href="https://github.com/microsoft/playwright/commit/b9d665caf0a3c65de36de187b0ae2448977b4f12"><code>b9d665c</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12003">#12003</a>): docs: avoid .net version ambiguity (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12040">#12040</a>)</li> 69 <li><a href="https://github.com/microsoft/playwright/commit/1d4521a12e6867a4a4b5a22b818f09cb32cc0bd9"><code>1d4521a</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12036">#12036</a>): docs: fix release notes headers (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12037">#12037</a>)</li> 70 <li><a href="https://github.com/microsoft/playwright/commit/7a683a9331447f71978eb36551c1de96bffd1990"><code>7a683a9</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12019">#12019</a>) docs: add release notes for 1.19 (<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12034">#12034</a>)</li> 71 <li><a href="https://github.com/microsoft/playwright/commit/ca116db2cbad170e76e8b088db34236ae0faf22c"><code>ca116db</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12016">#12016</a>): fix(reporters): correctly handle missing stdout.columns ...</li> 72 <li><a href="https://github.com/microsoft/playwright/commit/8a52c3ca7679a4b3711a20d4d6f3d0490ef99690"><code>8a52c3c</code></a> cherry-pick(<a href="https://github-redirect.dependabot.com/Microsoft/playwright/issues/12022">#12022</a>): chore: don't close page in generated test</li> 73 <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.18.1...v1.19.0">compare view</a></li> 74 </ul> 75 </details> 76 <br /> 77 78 79 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 80 81 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`. 82 83 [//]: # (dependabot-automerge-start) 84 [//]: # (dependabot-automerge-end) 85 86 --- 87 88 <details> 89 <summary>Dependabot commands and options</summary> 90 <br /> 91 92 You can trigger Dependabot actions by commenting on this PR: 93 - `@dependabot rebase` will rebase this PR 94 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 95 - `@dependabot merge` will merge this PR after your CI passes on it 96 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 97 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 98 - `@dependabot reopen` will reopen this PR if it is closed 99 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 100 - `@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) 101 - `@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) 102 - `@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) 103 104 105 </details> 106