Amba Consultants | https://ambaconsultants.com | Cypressio – Get started in 5 minutes

Instructions

1.) Install Node Package Manager

2.) Create a directory & change to the newly created directory.

3.) Run: npm init & follow prompts

4.) Edit package.json file as follows :

{
"name": "demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "cypress run",
"test-debug": "cypress open"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cypress": "^3.2.0"
}
}

5.) Run npm test-debug