Skip to content

Bump playwright from 1.23.4 to 1.31.0#70

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright-1.31.0
Closed

Bump playwright from 1.23.4 to 1.31.0#70
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright-1.31.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 22, 2023

Copy link
Copy Markdown
Contributor

Bumps playwright from 1.23.4 to 1.31.0.

Release notes

Sourced from playwright'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 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)

Bumps [playwright](https://github.com/Microsoft/playwright) from 1.23.4 to 1.31.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.23.4...v1.31.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 22, 2023
@dependabot @github

dependabot Bot commented on behalf of github Feb 23, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #71.

@dependabot dependabot Bot closed this Feb 23, 2023
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/playwright-1.31.0 branch February 23, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants