Kitchen Sink
This is an example app used to showcase Cypress.io testing. The application uses every API command in Cypress for demonstration purposes. Additionally this example app is configured to run tests in various CI platforms. The tests are also heavily commented. For a full reference of our documentation, go to docs.cypress.io.
To see the kitchen sink application, visit example.cypress.io.
CI Status
The following table lists live workflows from various CI providers. These each independently test the contents of this example repository. They run and record using Cypress Cloud with their results displaying centrally under Cypress Cloud ProjectId 4b7344
. Each CI provider shows its build status on its own site:
You can find all CI results recorded on the Cypress Cloud
CI Workflow Examples
This table shows additional documentation-only examples of CI workflows. These are not live examples as in the table above and they may require modification before use.
The Cypress documentation page CI Provider Examples provides some more examples with extensive guides for using Cypress with some of the most popular CI providers.
Help + Testing
If you get stuck, here is more help:
1. Fork this repo
If you want to experiment with running this project in Continuous Integration, you'll need to fork it first.
After forking this project in Github
, run these commands:
git clone https://github.com/<your-username>/cypress-example-kitchensink.git
cd cypress-example-kitchensink
npm install
npm start
The npm start
script will spawn a webserver on port 8080
which hosts the Kitchen Sink App.
You can verify this by opening your browser and navigating to: http://localhost:8080
You should see the Kitchen Sink App up and running. We are now ready to run Cypress tests.
npm run cy:open
shortcut: you can use command npm run local:open
that uses start-server-and-test to start local server and open Cypress. When you close Cypress, the local server is stopped automatically. Similarly you can use npm run local:run
to start the server, run Cypress tests headlessly and close the server.
2. Install & write tests in Cypress
Follow these instructions to install and write tests in Cypress.
Contributing
Check out the Contributing Guideline.
Changelog