A WebdriverIO plugin which enables BrowserStack reports on CI servers
npm install wdio-browserstack-reporterThis branch[wdio-browserstack-reporter/wdio4] contains reporter for WebdriverIO 4 and earlier versions. For later versions please refer to wdio-browserstack-reporter/master
A WebdriverIO plugin which enables BrowserStack reports on CI servers
!Browserstack reports on Jenkins
Add wdio-browserstack-reporter as a dependency in your package.json.
``json`
{
"dependencies": {
"wdio-browserstack-reporter": "~0.1.3"
}
}
Add browserstack as a reporter in your conf file.
`js`
// wdio.conf.js
module.exports = {
// ...
reporters: ['browserstack'],
reporterOptions: {
browserstack: {
outputDir: './'
}
},
// ...
};
The following options are supported(optional):
Type: String
You will have to configure your Jenkins CI server to embed all the BrowserStack Selenium reports and logs in Jenkins.
1. Click on Add post-build action in Post-build Actions.
2. Click on Publish JUnit test result report
3. In the Test report XMLs, enter */browserstack-reports/REPORT-.xml`
4. In the Additional test report features section, add Embed BrowserStack Report.
This is how your configuration should look like
!Jenkins Setup
Guide to running Selenium Webdriver tests with NodeJS on BrowserStack