Improve this doc

TestingBot Service

A WebdriverIO service. It updates the job metadata (‘name’, ‘passed’, ‘tags’, ‘public’, ‘build’, ‘extra’) and runs TestingBot Tunnel if desired.

Installation

In order to use the service you need to download it from NPM:

1
$ npm install wdio-testingbot-service --save-dev

Configuration

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.

1
2
3
4
5
6
7
8
9
// wdio.conf.js
export.config = {
// ...
services: ['testingbot'],
user: process.env.TB_KEY,
key: process.env.TB_SECRET,
tbTunnel: true,
// ...
};

Options

user

Your TestingBot API KEY.

Type: String

key

Your TestingBot API SECRET.

Type: String

tbTunnel

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

tbTunnelOpts

Apply TestingBot Tunnel options (e.g. to change port number or logFile settings). See this list for more information.

Type: Object
Default: {}