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.1"
  }
}

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

agundawar avatar archish27 avatar bstack-security-github avatar ckzgraphics avatar darshilgada24 avatar dhimil avatar francisf avatar mohitmun avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wdio-browserstack-reporter's Issues

Please release wdio5/6 version to npmjs

Currently version of the reporter that works with wdio5 & 6 is on the branch wdio5.
Unfortunately I am unable to install that version in enterprise environment because npm installs from github are forbidden.

Please release wdio5 version to npmjs.com.

Make reporter compatible with WebdriverIO v5

WebdriverIO released v5 around Christmas, see also (https://webdriver.io/blog/2018/12/19/webdriverio-v5-released.html).

To make this reporter usable with the new version there are some small adjustments necessary. There are some minor changes that need to be made. You can find a general overview
(https://webdriver.io/docs/customreporter.html).

Most important ones to point out provided on this link:
jemishgopani/wdio-mochawesome-reporter#36

Thank you a lot!

wdio-browserstack-reporter is not compatible with v7 of WebdriverIO

Followed the instruction https://github.com/browserstack/wdio-browserstack-reporter/blob/master/README.md
and I get the following error when I run wdio with the suggested config.
ERROR @wdio/local-runner: Failed launching test session: TypeError: ReporterClass is not a constructor at BaseReporter.initReporter (/home/apaliwal/Solution-engine-test/solution-engine-test-ui/node_modules/@wdio/runner/build/reporter.js:124:14) at Array.map (<anonymous>) at new BaseReporter (/home/apaliwal/Solution-engine-test/solution-engine-test-ui/node_modules/@wdio/runner/build/reporter.js:32:39) at Runner.run (/home/apaliwal/Solution-engine-test/solution-engine-test-ui/node_modules/@wdio/runner/build/index.js:77:21) at process.on.m (/home/apaliwal/Solution-engine-test/solution-engine-test-ui/node_modules/@wdio/local-runner/build/run.js:37:20) at process.emit (events.js:203:15) at process.EventEmitter.emit (domain.js:448:20) at emit (internal/child_process.js:832:12) at process._tickCallback (internal/process/next_tick.js:63:19)

Using with ReactNative

Can I use wdio-browserstack-reporter for ReactNative? Now after completing tests in Azure Pipeline I have empty browserstack table.

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.