Category:
Cypress
Execute specific cy.js file - npx cypress run --spec
Execute all cy.js files under the folder - npx cypress run --spec
Execute the cy.js file in Chrome browser (it will run the scripts in headless mode) - npx cypress run --spec --browser=chrome
Execute the cy.js file in Chrome browser (it will run the scripts in headed mode) - npx cypress run --spec --browser=chrome --headed