YeungKC / Hakuba

A fast blog starter that reads data off GitHub Discussions.
https://hakuba.yeungkc.com/
GNU General Public License v3.0
137 stars 20 forks source link

Bump @playwright/test from 1.30.0 to 1.31.0 #334

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @playwright/test from 1.30.0 to 1.31.0.

Release notes

Sourced from @​playwright/test's releases.

v1.31.0

New APIs

  • New property TestProject.dependencies to configure dependencies between projects.

    Using dependencies allows global setup to produce traces and other artifacts, see the setup steps in the test report and more.

    // playwright.config.ts
    import { defineConfig } from '@playwright/test';
    

    export default defineConfig({ projects: [ { name: 'setup', testMatch: /global.setup.ts/, }, { name: 'chromium', use: devices['Desktop Chrome'], dependencies: ['setup'], }, { name: 'firefox', use: devices['Desktop Firefox'], dependencies: ['setup'], }, { name: 'webkit', use: devices['Desktop Safari'], dependencies: ['setup'], }, ], });

  • New assertion expect(locator).toBeInViewport() ensures that locator points to an element that intersects viewport, according to the intersection observer API.

    const button = page.getByRole('button');
    

    // Make sure at least some part of element intersects viewport. await expect(button).toBeInViewport();

    // Make sure element is fully outside of viewport. await expect(button).not.toBeInViewport();

    // Make sure that at least half of the element intersects viewport. await expect(button).toBeInViewport({ ratio: 0.5 });

... (truncated)

Commits
  • 4413b01 cherry-pick(#20994): docs: fix release notes
  • 1cad99c cherry-pick(#21008): docs: update auth docs to remove cross-run caching
  • 725dd8b cherry-pick(#21010): chore: align js routing logic with other langs (#21036)
  • 63642bd cherry-pick(#20997): chore: update release notes for 1.31
  • bb3b96e cherry-pick(#20933): chore: 1.31 release notes for js
  • d32d466 cherry-pick(#20998): fix: stricter condition for Firefox codegen tests workar...
  • 31ace75 cherry-pick(#20973): chore: fix cli executable bits
  • 822227f cherry-pick(#20969): chore: release notes for 1.31 for java, python, csharp
  • f276edf cherry-pick(#20968): docs: Route.fetch.maxRedirects in java (#20970)
  • b7d3611 cherry-pick(#20966): fix(docs): move callback of Worker.waitForClose to the e...
  • Additional commits viewable in compare view


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 will merge this PR once CI passes on it, as requested by @YeungKC.


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 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)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
hakuba ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 22, 2023 at 2:35AM (UTC)
yeungkcs-blog ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 22, 2023 at 2:35AM (UTC)