Skip to content

SatejM/testcafe-ui-automation-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testcafe Details

E2E tests Framework written in Testcafe.

  • Design Pattern: Page Object Model
  • Language: Javascript

Setup

  1. Clone git clone https://github.com/SatejM/testcafe-ui-automation-framework.git
  2. Install npm install

Dependencies

  1. Testcafe
  2. dotenv
  3. testcafe-reporter-cucumber-json

Run

  • 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

Report Example

Alt text

Future Enhancements

  • 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

About

Testcafe UI automation framework using POM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published