This testing suite was built with TestCafe.
The purpose of this test suite is to demonstrate using TestCafe to create functional web tests on the website AutomationPractice.com
In creating this framework using TestCafe, I have written simple test cases for the following test types:
- Smoke Test
- Sanity Test
- End-to-end Regression Test
If you'd like to try out this TestCafe suite, follow the steps below.
# Open terminal and enter the following commands
git clone https://github.com/brad4au57/eCommerceSite_TestCafe_Suite.git
cd eCommerceSite_TestCafe_Suite
npm install
Then, to run one of the following test
commands, try out one or all of the following:
# To run the smoke tests
npm run test:smoketest
# To run the sanity tests
npm run test:sanity
# To run the end-to-end regression tests
npm run test:end2end