percy / percy-playwright

Playwright client library for visual testing with Percy
MIT License
17 stars 6 forks source link

⬆️ Bump playwright from 1.25.2 to 1.26.0 #140

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps playwright from 1.25.2 to 1.26.0.

Release notes

Sourced from playwright's releases.

v1.26.0

Assertions

Other Highlights

  • New option maxRedirects for apiRequestContext.get(url[, options]) and others to limit redirect count.
  • New command-line flag --pass-with-no-tests that allows the test suite to pass when no files are found.
  • New command-line flag --ignore-snapshots to skip snapshot expectations, such as expect(value).toMatchSnapshot() and expect(page).toHaveScreenshot().

Behavior Change

A bunch of Playwright APIs already support the waitUntil: 'domcontentloaded' option. For example:

await page.goto('https://playwright.dev', {
  waitUntil: 'domcontentloaded',
});

Prior to 1.26, this would wait for all iframes to fire the DOMContentLoaded event.

To align with web specification, the 'domcontentloaded' value only waits for the target frame to fire the 'DOMContentLoaded' event. Use waitUntil: 'load' to wait for all iframes.

Browser Versions

  • Chromium 106.0.5249.30
  • Mozilla Firefox 104.0
  • WebKit 16.0

This version was also tested against the following stable channels:

  • Google Chrome 105
  • Microsoft Edge 105
Commits
  • 5321921 chore: restore userAgent export from playwright-core (#17447)
  • c48b511 chore: mark v1.26.0 (#17301)
  • ed62987 chore: update release notes for 1.26
  • d25cc5c Revert "feat: introduce docker integration (#16382)"
  • 48e97d8 Revert "feat: expect(locator).toHaveAttribute to assert attribute presence (#...
  • 90ac0f5 Revert "fix: support toHaveAttribute(name, options) (#16941)"
  • 0c21331 Revert "test: unflake "should support boolean attribute with options" (#17024)"
  • 81c50d8 chery-pick(#17381): docs(python): add missing NotToBe{Visible,Editable,Enable...
  • 8a8c89b cherry-pick(#17367): chore: rebuild components on new vite
  • e1681a3 cherry-pick(#17349): fix(socks proxy): destroy sockets on close to avoid hang...
  • 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)