how to run tests in headless mode package.json cypress code example
Example 1: cypress run specific test
cypress run --spec 'path/to/files/*.spec.js'
Example 2: hot to start cypress
npm install cypress //takes about 3-5 minutes for entire process
./node_modules/.bin/cypress open // just cypress run wont work