loading...

Discussion on: Some UI testing problems and the Cypress way

Collapse
pedroapfilho profile image
Pedro Filho

A good idea for Cypress tests is to use cypress-testing-library (github.com/testing-library/cypress...), so you can use jest-dom on your cypress tests!

Collapse
noriste profile image
Stefano Magni Author

If you use Cypress you do not need jest-dom. You use jest-dom, alongside testing-library I mean, with Jest, @testing-library/react, etc.
Apart from this detail: Yes, I really love it and I use @testing-library/cypress in all my projects ❤️ (I'm in its contributor list, too).
Thank you 😊
Stefano