Forrest logo
back to context overview

cypress

List of commands for cypress:

  • cypress:install Install Cypress (e2e testing tool)
    $ npm install cypress --save-dev
    try on your machine
    explain this command
  • cypress:open Open Cypress. This will open Cypress in a new window.
    $ npx cypress open
    try on your machine
    explain this command
  • cypress:open:mobile-viewport Open Cypress With a Mobile Viewport
    $ npx cypress open --config viewportWidth=${width},viewportHeight=${height}
    try on your machine
    explain this command
  • cypress:run Run Cypress Headless
    $ npx cypress run
    try on your machine
    explain this command
  • cypress:run:mobile-viewport Run Cypress Headless With a Mobile Viewport
    $ npx cypress run --config viewportWidth=${width},viewportHeight=${height}
    try on your machine
    explain this command
back to context overview