Socket
Book a DemoInstallSign in
Socket

webdriverio-browserstack-reporter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdriverio-browserstack-reporter

A WebdriverIO plugin which enables BrowserStack reports on CI servers

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

webdriverio-browserstack-reporter

A WebdriverIO plugin which enables BrowserStack reports on CI servers

Browserstack reports on Jenkins

Installation

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

{
  "dependencies": {
    "webdriverio-browserstack-reporter": "0.1.0"
  }
}

Configuration

Add browserstack as a reporter in your conf file.

// wdio.conf.js
module.exports = {
  // ...
  reporters: ["browserstack"],
  reporterOptions: {
    browserstack: {
      outputDir: "./"
    }
  }
  // ...
};

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.

  • Click on Add post-build action in Post-build Actions.
  • Click on Publish JUnit test result report
  • In the Test report XMLs, enter */*browserstack-reports/REPORT-*.xml
  • 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

Browserstack Jenkins page

Webdriverio.

Webdriverio Jenkins Integration

Webdriverio Junit Reporter

Keywords

webdriveio

FAQs

Package last updated on 22 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts