Imagine the following.
You join a new project and after getting access to the repo you notice that there's no tests.
You decide to ask the team whether they are in different repo or something and unfortunately the answer is:
We don't have any tests, we didn't have the time.
😐
In this collection we're going to learn how to add e2e tests with cypress.io to an existing React app in order to do two things:
In less than 20 minutes we're going to go through:
data-cy
propertiescy.only
and cy.skip
in order for us to build our e2e test suite fasterand much more!
React is an open-source, front end, JavaScript library for building user interfaces or UI components. React can be used as a base in the development of single-page or mobile applications.
The web has evolved. Finally, testing has too. Cypress is a tool for fast, easy and reliable testing for anything that runs in a browser.