Sample project to demonstrate a cy.dataTest
Cypress custom command.
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.
Note: Before running the tests, make a copy of the
cypress.env.example.json
file ascypress.env.json
, which in the real world, you would update with valid credentials.The
cypress.env.json
file is included on.gitignore
and you're safe that confidential info won't be versioned.
Run npm test
(or npm t
for the short version) to run the test in headless mode.
Or, run npm run cy:open
to open Cypress in interactive mode.
If you want to support this project, leave a ⭐.
This project was created with 💚 by Walmyr.