Closed Belco90 closed 2 years ago
I'm able to reproduce the issue with Cypress built-in utils, so this is not an issue from cypress-testing-library in particular.
If the issue is with Cypress, do you know if there is a related issue in the Cypress GH? I couldn't find one, and I'm experiencing a similar problem.
Worth mentioning this thread here: https://github.com/cypress-io/cypress/issues/7306
cypress-testing-library
version: v8.0.2node
version: v16.15.0npm
(oryarn
) version: npm v8.11.0Relevant code or config
This is my test
What you did:
Upgraded some dependencies
What happened:
The test was working correctly. After upgrading to React v18, it started being flaky. After upgrading to TS 4.7, it always fails.
The following error is displayed:
Reproduction repository:
https://github.com/octoclairvoyant/octoclairvoyant-webapp/pull/944
Problem description:
The test is always failing at trying to click in an element retrieved with
cy.findByRole
Suggested solution:
No idea