This is a sample Mocha Framework that uses WebdriverIO and JavaScript.
- node >= 12.18.x - how to install Node
- npm >= 6.14.x - [No explicit installation required, it comes with node]
- Visual Studio Code - Click here to download
Clone Repository
1. git clone https://github.com/testSadab/WebdriverIOJSMochaFramework.git
2. Navigate to `WebdriverIOJSMochaFramework`
Install the dependencies:
npm install
Run tests:
Run all test: npm test
Run Specific Test: npm test -- --spec ./features/<featurefilename>.feature
Generate allure report:
npm run report