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()