The cypress-react-e-2-e
is an educational project aims to teach using Cypress end-to-end test with a ReactJS application. This project may be mentioned in various written and video content I'll create in the coming days.
It is an Open Source project. It means, if you would like to enhance it by adding features, test cases, you are most welcome. Please follow the instructions below to get started.
Before we move on, if you like my effort in teaching and educating, you can motivate me by giving the repository a start ⭐ and/or follow me on these platforms,
Many Thanks to all Stargazers
- First clone/fork the project
- Change the directory to
cypress-react-e-2-e
- Install dependencies using the command
yarn install
ornpm install
. - Start the Rect app using the command
yarn start
ornpm run start
. It will launch the app locally on the URL http://localhost:3000 - Now open another terminal/command prompt in the same folder.
- Type the command
npm run cypress
ornpx cypress open
and press the enter key. It will open up the Cypress app on your browser to start running the test cases.
NOTE this project was made with "cypress": "^10.5.0"