Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

chore(deps-dev): bump expect-playwright from 0.2.6 to 0.8.0 #782

Merged
merged 8 commits into from
Nov 11, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2021

Bumps expect-playwright from 0.2.6 to 0.8.0.

Release notes

Sourced from expect-playwright's releases.

Version 0.8.0

Add support for Locators! Playwright 1.14 recently released the Locators API which now work when passed to expect-playwright matchers:

await expect(page.locator('button')).toBeEnabled()

Version 0.7.2

Changes:

  • fix: toHaveSelector when ElementHandle is passed (#118)

Version 0.7.1

Bug fixes

Fixes an issue in version 0.7.0 where the package output format was unintentionally changed which led to expect-playwright not working.

Version 0.7.0

New features

  • Add toMatchComputedStyle matcher to match against computed CSS styles (#112)
  • Add promise support to selector matchers to not require awaits inside the expect statement anymore (#113)

Other updates

  • Add toMatchAttribute to the documentation (#111)
  • Improve toHaveFocus. This works now with frames, element handles and promise based variants of them (#114)
  • Update internal iframe tests to have better internal end-to-end tests (#115)

Version 0.6.0

A lot has changed in expect-playwright and we are happy to bring you version 0.6.0 with new matchers, automatic promise resolution, improvements to not.toHaveSelector, and error message diffs!

New matchers!

This release brings 7 new matchers to simplify even more common testing use cases. Below is a quick summary of each new matcher we've added, but checkout the docs for full details showing how to use these new matchers.

  • toBeChecked - Checks if a checkbox or radio is checked.
  • toBeDisabled - Checks if an element is disabled.
  • toBeEnabled - Checks if an element is enabled.
  • toMatchAttribute - Checks if an element's attribute matches a given string or regex pattern.
  • toMatchTitle - Checks if the page or frame title matches a given string or regex pattern.
  • toMatchURL - Checks if the page or frame URL matches a given string or regex pattern.
  • toMatchValue - Checks if an element's value matches a given string or regex pattern.

Automatic promise resolution

A recent change allows all expect-playwright matchers to accept a promise which resolves to a page, frame, or element handle so you are not forced to write extra awaits in your tests!

// before
</tr></table> 

... (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 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 [expect-playwright](https://github.com/playwright-community/expect-playwright) from 0.2.6 to 0.8.0.
- [Release notes](https://github.com/playwright-community/expect-playwright/releases)
- [Commits](playwright-community/expect-playwright@v0.2.6...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner November 10, 2021 18:28
@dependabot dependabot bot requested review from photodow, annawen1 and andysherman2121 and removed request for a team November 10, 2021 18:28
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 10, 2021
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 10, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 10, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 10, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 10, 2021

@abdonrd abdonrd added the Ready to merge Label for the pull requests that are ready to merge label Nov 11, 2021
@kodiakhq kodiakhq bot merged commit ffbd689 into master Nov 11, 2021
@kodiakhq kodiakhq bot deleted the dependabot/npm_and_yarn/expect-playwright-0.8.0 branch November 11, 2021 09:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants