Sample project to demonstrate the cy.wrap
Cypress command.
It is required to have git, Node.js and npm installed to clone and run this project.
I've used versions
2.42.1
,v22.13.1
and10.9.2
of git, Node.js and npm, respectively. I suggest you use the same or later LTS versions.
Run npm install
(or npm i
for the short version) to install the dev dependencies.
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 the Cypress App and run the tests in interactive mode.
After running the tests in headless mode, you should see somet 5CE1 hing like this:
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ spec.cy.js 00:05 14 14 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✔ All specs passed! 00:05 14 14 - - -
If you want to support this project, leave a ⭐.
This project was created with 💚 by Walmyr.