Skip to content

browserstack use app-automate if you run native mobile app. this fork is used for this purpose

License

Notifications You must be signed in to change notification settings

mjalav/codeceptjs-bshelper

This branch is 5 commits ahead of, 6 commits behind kobenguyent/codeceptjs-bshelper:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ce15d7 · Dec 14, 2022

History

78 Commits
Feb 25, 2022
Dec 14, 2022
Dec 14, 2022
Dec 24, 2019
Nov 5, 2019
Feb 25, 2022
Dec 24, 2019
Mar 22, 2019
Feb 25, 2022
Dec 24, 2019
Apr 5, 2022
Feb 25, 2022

Repository files navigation

Codacy Badge npm"Buy Me A Coffee"

codeceptjs-bshelper

CodeceptJS Browserstack plugin, to update Test Names, Test Results after test execution

codeceptjs-bshelper is CodeceptJS plugin which is to complete tests results on Browserstack after execution. The plugin updates test name and test results on Browserstack using the event.test.passed and event.test.failed events.

NPM package: https://www.npmjs.com/package/codeceptjs-bshelper

Installation

npm i codeceptjs-bshelper --save-dev

Configuration

This plugin should be added in codecept.json/codecept.conf.js

Example:

{
...
   plugins: {
     BrowserstackHelper: {
      require: 'codeceptjs-bshelper',
      user: process.env.BROWSERSTACK_USERNAME,
      key: process.env.BROWSERSTACK_ACCESS_KEY,
      shortUrl: true,
      enabled: true
    }
   }
...
}

To use this plugin, users must provide the Browserstack User, Key & Host as part of the configuration.

Note

At the end, there will be an exposed URL to Browserstack. You can have the option to shorten the URL by passing this to the config

shortUrl: true

By default, it is setting to false due to privacy concerns, cause we use a third party lib to shorten the url. Using it as your own risks. :)

About

browserstack use app-automate if you run native mobile app. this fork is used for this purpose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.8%
  • JavaScript 14.2%