Apply a Cypress preset to you Node project
npm init
npx apply skydiver/preset-cypress
npm run cypress:open
Open cypress.json
and change baseUrl
to your project url.
- create new test file at
cypress/integration/
- check Cypress docs at https://docs.cypress.io/guides/guides/getting-started.html
Copy cypress.env.sample.json
to cypress.env.json