Getting started with Cypress
In this section, you will learn what Cypress is and how to get started with it.
Cypress is an end-to-end agnostic framework for testing web applications. You can write test IDs in HTML tags and assert whether the HTML tags are rendered in the way you would expect them to be.
Let’s define what end-to-end means. End-to-end means how a user will use your application after they land on your web application and finish tasks such as logging in, signing up, checking out, viewing a profile, logging out, filling out a form, and so on.
For instance, you can test or check the UI of your web application in different example cases or scenarios:
- The sentence of the landing page’s value proposition contains the word sale
- The widget count of a section of your website is what you expected
- The items in the basket on the checkout page are cleared out after hitting the Clear button
- A login form is present when the web application...