Cypress run command



To run particular test spec file 

  • node_modules/.bin/cypress run -s "cypress/integration/examples/Test1.js"

To run all the test present under cypress folder

  • node_modules/.bin/cypress run 

To open cypress test runner UI

  • node_modules/.bin/cypress open

To execute cypress test in particular browser (by default cypress run in headless mode)

  • node_modules/.bin/cypress run --browser {browserName}



Comments

Popular posts from this blog

Get first non-repeating Letter

Docker commands