A Protractor plugin(currently supports only jasmine framework) which enables BrowserStack reports on CI servers.
Add protractor-browserstack-reporter
as a dependency in your package.json
.
{
"dependencies": {
"protractor-browserstack-reporter": "~0.2.2"
}
}
Add browserstack
as a plugin in your conf file.
// conf.js
'plugins': [{
'package': "protractor-browserstack-reporter"
}]
The following options are supported(optional):
Define a directory where your browserstack report files should get stored.
Type: String
You will have to configure your Jenkins CI server to embed all the BrowserStack Selenium reports and logs in Jenkins.
This is how your configuration should look like
Guide to running Selenium Webdriver tests with Protractor on BrowserStack