Skip to content

mehradi-github/e2e-cypress

Repository files navigation

E2E testing (Cypress)

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.

Installing and opening Cypress

npm install cypress --save-dev
npx cypress open

APIs

You can find here table of contents:

Libraries and Tools

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