Sample project using Cypress
It is required to have Node.js and npm installed to run this project.
I used versions
v20.11.1
and10.2.4
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 simulating a desktop ou a mobile viewport
Run npm test
(or npm t
for the short version) to run the test in headless mode on a desktop viewport.
Or, run npm run cy:open
to open Cypress in interactive mode on a desktop viewport.
Run npm test:mobile
(or npm t
for the short version) to run the test in headless mode on a mobile viewport.
Or, run npm run cy:open:mobile
to open Cypress in interactive mode on a mobile viewport.
If you want to support this project, leave a ⭐.
This project was created with 💚 by Antônio Trindade.
Go to course structure.