- 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
Subscribe to:
Post Comments (Atom)
-
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...
-
Hooks in Cypress allow you to run setup and teardown code before and after your tests or test suites. This is useful for tasks like setting ...
-
Alerts, in the context of web development and user interfaces, are pop-up dialog boxes that display important information or notifications...
No comments:
Post a Comment