There are different useful commands in cypress. The necessary commands are as follows.
npm install cypress --save-dev
Installation cypress-file-upload:
npm install --save-dev cypress-file-upload
Installation Chai:
npm install chai --save-dev
HTML Mocha Report Generation:
Installation Mocha
npm install mocha --save-dev
Installation cypress-multi-reporters
npm install cypress-multi-reporters --save-dev
Installation mocha-awesome
npm install mochawesome --save-dev
Installation mocha-awesome-merge
npm install mochawesome-merge --save-dev
Installation mocha-awesome-report-generator
npm install mochawesome-report-generator --save-dev
npx browserslist@latest --update-db
npm install caniuse-lite
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
npm cache clean