The easiest way is to keep wdio-reportportal-service
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-reportportal-service": "^7.3.0"
}
}
You can do it by:
npm install wdio-reportportal-reporter --save-dev
Instructions on how to install WebdriverIO
can be found here.
Configure the output directory in your wdio.conf.js file:
const RpService = require('wdio-reportportal-service');
exports.config = {
// ...
services: [[RpService, {}]],
// ...
}
This project is licensed under the MIT License - see the LICENSE.md file for details