Sample project to learn about testing with cypress.
It is required to have Node.js and npm installed to run this project.
I used versions
v16.13.2
and8.1.2
of Node.js and npm, respectively. I suggest you use the same or later versions.
Run npm install
(or npm i
for the short version) to install the dev dependencies.
You can run the tests in mobile devices and desktop devices.
Run npm test
(or npm t
for the short version) to run the test in headless mode on desktop viewport.
Or, run npm run cy:open
to open Cypress in interactive mode on desktop viewport.
Run npm test:mobile
to run the test in headless mode on mobile viewport.
Or, run npm run cy:mobile
to open Cypress in interactive mode on mobile viewport.
If you want to support this project, leave a ⭐.
This project was created with 💚 by João Victor.