Browserstack Publisher for Codecept JS tests
npm install codeceptjs-bshelper



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:
npm i codeceptjs-bshelper --save-devThis plugin should be added in codecept.conf.js/codecept.conf.ts
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.
```
shortUrl: true
By default, it is setting to false due to privacy concerns, because we use a third party lib to shorten the url. Using it as your own risks. :)