The project uses WebdriverIO and JavaScript. It includes examples of the PageObject pattern and some practical examples for different element actions
- node >= 12.18.x - how to install Node
- npm >= 6.14.x - how to install NPM
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
- In the terminal, perform
npm run report
to open allure report port. Report will be opened in default browser
- Allure Report
- Mocha framework
- Page Object Design pattern
- Test Data sourced from json file
- Environment set from commandline