-
Notifications
You must be signed in to change notification settings - Fork 1
/
wdio.conf.ts
44 lines (43 loc) · 1.15 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
/* eslint-disable @typescript-eslint/naming-convention */
import type { Options } from '@wdio/types';
import path from 'path';
export const config: Options.Testrunner = {
runner: 'local',
autoCompileOpts: {
tsNodeOpts: {
project: './test/tsconfig.json',
},
},
specs: ['./src/test/specs/**/*.ts'],
exclude: [
// 'path/to/excluded/files'
],
maxInstances: 10,
capabilities: [
{
browserName: 'vscode',
browserVersion: process.env.VSCODE_VERSION || '1.64.2', // "insiders" or "stable" for latest VSCode version
'wdio:vscodeOptions': {
extensionPath: __dirname,
workspacePath: path.join(__dirname, 'sample_dotnet'),
userSettings: {
'editor.fontSize': 14,
},
},
},
],
services: ['vscode'],
logLevel: 'warn',
waitforTimeout: 40000,
// If you only want to run your tests until a specific amount of tests have failed use
// bail (default is 0 - don't bail, run all tests).
bail: 0,
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
framework: 'mocha',
reporters: ['spec' /*, 'junit'*/],
mochaOpts: {
ui: 'bdd',
timeout: 60000,
},
};