Cypress is a purely JavaScript-based front-end testing tool built for the modern web. This is modified and more lightweight version of original ngx-admin to practice UI Automation with Cypress.
npm install cypress --save-dev
npx cypress openYou can find here table of contents:
- Events
- Assertions
- Chai
- BDD-Assertions
- TDD-Assertions
- Chai-jQuery
- sinon-chai
- Commands
- Utilities
- Cypress API
- Plugins
Cypress automatically bundles and wraps these libraries:
| Name | What it does |
|---|---|
| sinon | provides the cy.stub() and cy.spy() APIs |
| lolex | provides the cy.clock() and cy.tick() APIs |
| sinon-chai | adds chai assertions for stubs and spies |