This wdio plugin was created based on this.
A WebdriverIO plugin to report in cucumber style.
It was tested on Webdriverio v6 and v7.
Firstly install in your devdependency
npm install @espekkaya/wdio-cucumber-reporter --save-dev
Your wdio.conf.js file should look like this:
import CucumberReporter from '@espekkaya/wdio-cucumber-reporter';
exports.config = {
// ...
reporters: [
CucumberReporter
],
// ...
};
For more information on WebdriverIO see the homepage.