E2E tests Framework written in Testcafe.
- Design Pattern: Page Object Model
- Language: Javascript
- Clone
git clone https://github.com/SatejM/testcafe-ui-automation-framework.git - Install
npm install
- Run all tests with runner class
node runner.js - Run all tests in chrome without report
npm run test-chrome-without-report - Run all tests in chrome with report
npm run tests-chrome-with-report - Run all tests in functional suite only
npm run functional-tests-with-report - Run all tests in chrome in headless mode(CI/CD)
npm run tests-chrome-headless-without-report
- Split test data based on test cases
- Add headless option for other browsers
- Enhance framework with testcafe's userrole feature
- Error handling at page level
