
cypress
List of commands for cypress:
-
cypress:install Install Cypress (e2e testing tool)$ npm install cypress --save-devtry on your machineexplain this command
-
cypress:open Open Cypress. This will open Cypress in a new window.$ npx cypress opentry on your machineexplain this command
-
cypress:open:mobile-viewport Open Cypress With a Mobile Viewport$ npx cypress open --config viewportWidth=${width},viewportHeight=${height}try on your machineexplain this command
-
cypress:run:mobile-viewport Run Cypress Headless With a Mobile Viewport$ npx cypress run --config viewportWidth=${width},viewportHeight=${height}try on your machineexplain this command