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!
Passionate, positive-minded, Sr Front-end Eng @ Preply (Design System) / Advisor @ Plannix / ex platform team / ex team leader / Speaker / Instructor / Writer / Remote worker
Location
Lecco, Italy
Education
Bachelor's degree, Communication design - High School Diploma, Informatic Technologies
Pronouns
he/him
Work
Senior Front-end Engineer/Tech lead at Preply (Design System)
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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A good idea for Cypress tests is to use
cypress-testing-library(github.com/testing-library/cypress...), so you can usejest-domon your cypress tests!If you use Cypress you do not need
jest-dom. You usejest-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/cypressin all my projects ❤️ (I'm in its contributor list, too).Thank you 😊
Stefano