Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 721 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 721 Bytes

WebdriverioBasic

To initialize project:

npm init wdio

To run specific test:

npx wdio run ./wdio.conf.js --spec ./test/specs/googlesearch.spec.js

To run all test

npx wdio run wdio.conf.js

Compile and create Allure report:

1. Add dependency:  npm install @wdio/allure-reporter --save-dev
2. Add reportet configuration in wdio.conf.js
	reporters: [['allure', {
        outputDir: 'allure-results',
        disableWebdriverStepsReporting: true,
        disableWebdriverScreenshotsReporting: true,
    }]]
3. Install allure CLI tool--> npm install -g allure-commandline --save-dev
4. allure generate ./allure-results/

5. allure open```