This repo is deprecated, please follow https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-testingbot-service
A WebdriverIO service. It updates the job metadata ('name', 'passed', 'tags', 'public', 'build', 'extra') and runs TestingBot Tunnel if desired.
The easiest way is to keep wdio-testingbot-service
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-testingbot-service": "~0.1"
}
}
You can simple do it by:
npm install wdio-testingbot-service --save-dev
Instructions on how to install WebdriverIO
can be found here.
In order to use the service you need to set user
and key
in your wdio.conf.js
file, and set the host
option to 'hub.testingbot.com'. If you want to use TestingBot Tunnel
you just need to set tbTunnel: true
.
// wdio.conf.js
export.config = {
// ...
services: ['testingbot'],
user: process.env.TB_KEY,
key: process.env.TB_SECRET,
tbTunnel: true,
// ...
};
Your TestingBot API KEY.
Type: String
Your TestingBot API SECRET.
Type: String
If true it runs the TestingBot Tunnel and opens a secure connection between a TestingBot Virtual Machine running your browser tests.
Type: Boolean
Default: false
Apply TestingBot Tunnel options (e.g. to change port number or logFile settings). See this list for more information.
Type: Object
Default: {}
For more information on WebdriverIO see the homepage.