Cypress
Grouping Test Scripts
Use package.json file
create custom command
ex:
smoke:test : npx cypress run --spec 'cypress/e2e/smoke/**'
in the terminal execute npm run smoke:test
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
More Actions Using Cypress
These are some common actions used in Cypress Back (browser) cy.go('back') Forward cy.go('forward') Reload cy.reload() cy.r...
cy.get()
What is the purpose of cy.get() command? It is used to get one or more DOM elements in selector or alias It is safe to chain further comman...
Handle Alerts in Cypress
Alert : Display a message to the user with an OK button. The user must click OK to dismiss the alert Here is the way to verify that the al...
No comments:
Post a Comment