This is a sample search application using React intended to demonstrates some of the basics of end-to-end functional testing using the Cypress.io framework. Material-UI components are used for design and functional simplicity.
- Clone the repository
$ git clone https://github.com/bobmacneal/cypress-search-tutorial.git
- Install Yarn for package management.
- Install node dependencies using yarn
$ yarn
$ yarn start
To use the Cypress test runner (animation below), issue the following:
$ yarn cy
Alternatively, to run all the Cypress tests from a command shell, issue the following:
$ yarn cy:all
cypress-search-tutorial:
-
uses Hacker News search API to submit a search term and to display the resulting hits returned
-
borrows from the general examples in the cypress tutorial videos
-
was bootstrapped with create-react-app