Applications

Improve this doc

Below is a list of complete applications tested in Cypress.

Name JS Description
Kitchen Sink Vanilla Showcases every single Cypress command
TodoMVC React Compares the official TodoMVC Selenium tests to Cypress
Phonecat Angular 1.x Compares the official Phonecat Protractor tests to Cypress
PieChopper Angular 1.x Tests a fully featured application with many forms and modals

Kitchen Sink

https://github.com/cypress-io/cypress-example-kitchensink

This is an example app is used to showcase every command available in Cypress.

kitchensink running

TodoMVC

https://github.com/cypress-io/cypress-example-todomvc

This repo compares Cypress Tests to official TodoMVC Tests. This gives you a good comparison of writing and running tests in Cypress versus vanilla Selenium.

  • Query and make assertions about DOM elements state.
  • Type into an input using cy.type().
  • Create a custom cy.createTodo() command to run multiple cy commands.
  • Click and double click elements using cy.click() and cy.dblclick().

todomvc-gif

Phonecat

https://github.com/cypress-io/cypress-example-phonecat

This tests the original Angular Phonecat example app using Cypress.

  • Test redirect behavior of application using .hash().
  • Test loading behavior of app.

phonecat-angular-tutorial-app-tested-in-cypress 2d78065e

PieChopper

https://github.com/cypress-io/cypress-example-piechopper

This is a single page application with a decent amount of features. The tests involve a lot of form submissions.

  • Test mobile responsive views using cy.viewport()
  • Test that the app scrolls correctly
  • Check checkboxes using cy.check()
  • Stub responses from our backend using cy.route()

piechopper-gif