shepherdjerred / sjer.red

My personal website
https://sjer.red
GNU General Public License v3.0
1 stars 0 forks source link

build(deps-dev): bump @playwright/test from 1.41.2 to 1.42.0 #626

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps @playwright/test from 1.41.2 to 1.42.0.

Release notes

Sourced from @​playwright/test's releases.

v1.42.0

New APIs

  • Test tags

    New tag syntax for adding tags to the tests (@-tokens in the test title are still supported).

    test('test customer login', { tag: ['@fast', '@login'] }, async ({ page }) => {
      // ...
    });
    

    Use --grep command line option to run only tests with certain tags.

    npx playwright test --grep @fast
    
  • Annotating skipped tests

    New annotation syntax for test annotations allows annotating the tests that do not run.

    test('test full report', {
      annotation: [
        { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/23180' },
        { type: 'docs', description: 'https://playwright.dev/docs/test-annotations#tag-tests' },
      ],
    }, async ({ page }) => {
      // ...
    });
    
  • page.addLocatorHandler()

    New method page.addLocatorHandler() registers a callback that will be invoked when specified element becomes visible and may block Playwright actions. The callback can get rid of the overlay. Here is an example that closes a cookie dialog when it appears.

    // Setup the handler.
    await page.addLocatorHandler(
        page.getByRole('heading', { name: 'Hej! You are in control of your cookies.' }),
        async () => {
          await page.getByRole('button', { name: 'Accept all' }).click();
        });
    // Write the test as usual.
    await page.goto('https://www.ikea.com/');
    await page.getByRole('link', { name: 'Collection of blue and white' }).click();
    await expect(page.getByRole('heading', { name: 'Light and easy' })).toBeVisible();
    

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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 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)
cloudflare-pages[bot] commented 5 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2525504
Status: ✅  Deploy successful!
Preview URL: https://8a79f056.shepherdjerred-com.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-play-q4sc.shepherdjerred-com.pages.dev

View logs