Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.05 KB

File metadata and controls

39 lines (30 loc) · 1.05 KB

WebdriverIO Mocha Framework

The project uses WebdriverIO and JavaScript. It includes examples of the PageObject pattern and some practical examples for different element actions

Requirements

Getting Started

Clone Repository

1. Fork this repository
2. git clone https://github.com/{USERNAME}/WebDriverIO-JavaScriptCode.git
3. Navigate to WebDriverIO-JavaScriptCode

Install the dependencies:

npm install

Run e2e tests:

npm run test

Generate/Open allure reporter

  • In the terminal, perform npm run report to open allure report port. Report will be opened in default browser

Key Features

- Allure Report
- Mocha framework
- Page Object Design pattern
- Test Data sourced from json file
- Environment set from commandline

Sample Report

image