Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @playwright/test to v1.20.0 #4757

Merged
merged 1 commit into from Mar 15, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 15, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@playwright/test (source) 1.19.2 -> 1.20.0 age adoption passing confidence

Release Notes

Microsoft/playwright

v1.20.0

Compare Source

Highlights
  • New options for methods page.screenshot(), locator.screenshot() and elementHandle.screenshot():

    • Option animations: "disabled" rewinds all CSS animations and transitions to a consistent state.
    • Option mask: Locator[] masks given elements, overlaying them with pink #FF00FF boxes.
  • expect().toMatchSnapshot() now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one
    automatically:

    expect('Web is Awesome <3').toMatchSnapshot();
  • New maxDiffPixels and maxDiffPixelRatio options for fine-grained screenshot comparison using expect().toMatchSnapshot():

    expect(await page.screenshot()).toMatchSnapshot({
      maxDiffPixels: 27, // allow no more than 27 different pixels.
    });

    It is most convenient to specify maxDiffPixels or maxDiffPixelRatio once in TestConfig.expect.

  • Playwright Test now adds TestConfig.fullyParallel mode. By default, Playwright Test parallelizes between files. In fully parallel mode, tests inside a single file are also run in parallel. You can also use --fully-parallel command line flag.

    // playwright.config.ts
    export default {
      fullyParallel: true,
    };
  • TestProject.grep and TestProject.grepInvert are now configurable per project. For example, you can now
    configure smoke tests project using grep:

    // playwright.config.ts
    export default {
      projects: [
        {
          name: 'smoke tests',
          grep: '@&#8203;smoke',
        },
      ],
    };
  • Trace Viewer now shows API testing requests.

  • locator.highlight() visually reveals element(s) for easier debugging.

Announcements
  • We now ship a designated Python docker image mcr.microsoft.com/playwright/python. Please switch over to it if you use Python. This is the last release that includes Python inside our javascript mcr.microsoft.com/playwright docker image.
  • v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit!
Browser Versions
  • Chromium 101.0.4921.0
  • Mozilla Firefox 97.0.1
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 99
  • Microsoft Edge 99

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the release:chore This PR is a chore (means nothing for users) label Mar 15, 2022
@renovate renovate bot force-pushed the renovate/playwright-monorepo branch from cfa4a35 to 2b7a22c Compare March 15, 2022 01:47
@renovate renovate bot force-pushed the renovate/playwright-monorepo branch from 2b7a22c to 7216fda Compare March 15, 2022 04:28
@renovate renovate bot merged commit 6f8d307 into main Mar 15, 2022
@renovate renovate bot deleted the renovate/playwright-monorepo branch March 15, 2022 05:25
@jtoar jtoar added this to the next-release milestone Mar 15, 2022
dac09 added a commit to dac09/redwood that referenced this pull request Mar 15, 2022
…d into feat/auth-checks-smoke-test

* 'feat/auth-checks-smoke-test' of github.com:dac09/redwood:
  chore(deps): update dependency @playwright/test to v1.20.0 (redwoodjs#4757)
@thedavidprice thedavidprice modified the milestones: next-release, v0.50.0 Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants