-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.conf.ts
64 lines (63 loc) · 1.64 KB
/
wdio.conf.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import RobotService from './index';
import { Options } from '@wdio/types';
export const config: Options.Testrunner = {
runner: 'local',
autoCompileOpts: {
autoCompile: true,
tsNodeOpts: {
project: './tsconfig.json',
transpileOnly: true,
},
},
specs: ['./test/specs/**/*.ts'],
exclude: [],
maxInstances: 1,
capabilities: [
{
browserName: 'chrome',
},
],
logLevel: 'info',
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 10000,
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
services: [[RobotService, {}]],
reporters: ['spec'],
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 12000000,
},
// onWorkerStart: function (cid, caps, specs, args, execArgv) {
// },
// beforeSession: function (config, capabilities, specs) {
// },
// before: function (capabilities, specs) {
// },
// beforeCommand: function (commandName, args) {
// },
// beforeSuite: function (suite) {
// },
// beforeTest: function (test, context) {
// },
// beforeHook: function (test, context) {
// },
// afterHook: function (test, context, { error, result, duration, passed, retries }) {
// },
// afterTest: function(test, context, { error, result, duration, passed, retries }) {
// },
// afterSuite: function (suite) {
// },
// afterCommand: function (commandName, args, result, error) {
// },
// after: function (result, capabilities, specs) {
// },
// afterSession: function (config, capabilities, specs) {
// },
// onComplete: function(exitCode, config, capabilities, results) {
// },
//onReload: function(oldSessionId, newSessionId) {
//}
};