- Fork this repository
- Install NodeJS
- Run
npm install
in the root folder - Run
npm install --global gulp-cli
to Install Gulp - Run
npm install --global @angular/cli
to Install Angular CLI - Run
npm install --global cypress
to Install Cypress
To run the dev server use the command gulp serve
To run cypress along with the dev server use the command gulp test
Test all the functionality of the time picker component on the sample angular component.
Items to test:
- Change the start time using the clockface
- Check that the end time updated to keep the duration
- Change end time using the clockface
- Check the duration has updated correctly
- Check that changing the period qualifiers(AM/PM) updates the values approriately
- Check changing to manual input(keyboard icon)
- Check changing start time manually
- Check changing end time manually
Test should perform similar to this