A WebdriverIO plugin to report in spec style suited for BrowserStack
Note: This plugin is forked from the webdriverio/webdriverio and extends @wdio/spec-reporter
to report Session IDs
for each test with a link to the BrowserStack Automate.
$ npm install wdio-browserstack-spec-reporter --save-dev
The following code shows the default wdio test runner configuration. Just add 'browserstack-spec'
as a reporter
to the array.
// wdio.conf.js
module.exports = {
// ...
reporters: ['dot', 'browserstack-spec'],
// ...
};