Skip to content

karanshah-browserstack/protractor-browserstack-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protractor-browserstack-reporter

A Protractor plugin which enables BrowserStack reports on CI servers

Browserstack reports on Jenkins

Installation

Add protractor-browserstack-reporter as a dependency in your package.json.

{
  "dependencies": {
    "protractor-browserstack-reporter": "~0.2.2"
  }
}

Configuration

Add browserstack as a plugin in your conf file.

// conf.js
'plugins': [{
  'package': "protractor-browserstack-reporter"
}]

The following options are supported(optional):

outputDir

Define a directory where your browserstack report files should get stored.

Type: String

Jenkins Setup

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

Related links

Guide to running Selenium Webdriver tests with Protractor on BrowserStack

Browserstack Jenkins page

Protractor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%