dhtlee / husky

Javascript ES6 UI test automation framework using WebdriverJS (Selenium)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Husky

This is the Javascript ES6 version of boilerplate code for UI test framework WebdriverJS (Selenium), Mocha and Chai. It contains support for

  • Chrome and Firefox browser
  • Screenshot taking upon failure
  • Mochawesome report and stacktrace logging

Framework can be extended according to your needs. Other versions:

  • Labrador - Java with Selenium and TestNG

Resources

Pre-requisite

Setting up environment

  1. Clone this repo
    git clone https://github.com/dhtlee/labrador.git
  2. Install dependencies
    npm install or yarn
  3. Update configuration values in config.js where needed

Running the demo test suite

  • Execute the demo test suite: Note: There will be 3 tests that passes and 2 that fails
    npm test or yarn test
  • To view test report, open mochawesome-reports/mochawesome.html in a browser

License

Husky is released under the MIT License.

About

Javascript ES6 UI test automation framework using WebdriverJS (Selenium)


Languages

Language:JavaScript 100.0%