npm run cy only code example
Example 1: cypress run specific test
cypress run --spec 'path/to/files/*.spec.js'
Example 2: run cypress
./node_modules/.bin/cypress open
cypress run --spec 'path/to/files/*.spec.js'
./node_modules/.bin/cypress open