https://fitbybeat.com is a website focused on health and fitness. In this project, there's end-to-end automation tests for BMI (Body Mass Index) calculations using Cypress.
git clone https://github.com/primprum/fit-by-beat.git
cd fit-by-beat \
npm i
npm run cy:open
npm run cy:run
npm run report
There are 2 features file to test:
- BMICalculate
- BMICompare
There are 3 scenarios in this test:
- Calculate BMI with Complete Valid Inputs
- Calculate BMI with Incomplete Valid Inputs
- Calculate BMI with Blank Inputs
This test is aiming at seeing whether different sex should give different BMR result
There are 3 scenarios in this test:
- Calculate BMR with Activity Factors for Male
- Calculate BMR with Activity Factors for Female
- Compare BMR with Activity Factors for Male and Female
Github Pages => https://primprum.github.io/fit-by-beat/