Cypress Testing - smasonmalik/sportsmatch_react GitHub Wiki

Installing Cypress via yarn if not already a project dev dependency:

cd /your/project/path
yarn add cypress --dev

Once a set as a dev dependency, you can open Cypress from your project root

yarn run cypress open

This will run all example Cypress tests. Test will re-run on saving changes made to react app. See full documentaion for test syntax Cypress documentation