faizulho / eshop

MIT License
0 stars 1 forks source link

Update @testing-library/cypress to the latest version 🚀 #41

Open greenkeeper[bot] opened 4 years ago

greenkeeper[bot] commented 4 years ago

☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The devDependency @testing-library/cypress was updated from 5.3.1 to 6.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: testing-library-bot License: MIT

Release Notes for v6.0.0

6.0.0 (2020-03-12)

BREAKING CHANGES

Update DOM Testing Library

The latest version of DOM Testing Library has several breaking changes you will want to review the changelog of DOM Testing Library v7.0.0 to ensure you are unaffected.

Drop Node 8

Node 10 or greater is required. Node 8 is out of LTS (6cdcfc2), closes #113

Remove query* queries.

We now throw an error instead. Fixing requires updating all query* to find* queries. In practice this means replacing cy.query with cy.find. remove deprecated query* queries (#130) (ee75c14)

Remove fallback that retries chained query that assumes no previous subject.

In practice this means starting new chains if no previous subject is required.

  cy.findByText('Foo').click()
-   .findByText('Bar').click() // Element with 'Bar' text is not a child of an element with 'Foo' text
+ cy.findByText('Bar').click()
Commits

The new version differs by 4 commits.

  • ee75c14 fix: remove deprecated query* queries (#130)
  • 503cbc0 chore: cleanup repo (#123)
  • 6cdcfc2 fix(node): Drop Node 8.
  • 7748784 feat: update DOM Testing Library to latest

See the full diff


FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree: