GithubHelp home page GithubHelp logo

wdio-browserstack-reporter's Introduction

wdio-browserstack-reporter

The branch contains reporter for WebdriverIO 5 and later versions. For earlier versions please refer to wdio-browserstack-reporter/wdio4 Browserstack reports on Jenkins

Installation

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

{
  "dependencies": {
    "wdio-browserstack-reporter": "^1.0.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.

  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 NodeJS on BrowserStack

Browserstack Jenkins page

Webdriverio.

Webdriverio Jenkins Integration

Webdriverio Junit Reporter

wdio-browserstack-reporter's People

Contributors

archish27 avatar ckzgraphics avatar dhimil avatar francisf avatar mohitmun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.