-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathwdio.conf.ts
More file actions
57 lines (53 loc) · 1.28 KB
/
wdio.conf.ts
File metadata and controls
57 lines (53 loc) · 1.28 KB
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
/// <reference types="wdio-vscode-service" />
import path from "node:path";
const testRoot = path.resolve(process.cwd(), ".wdio-vscode");
const extensionsDir = path.join(testRoot, "extensions");
export const config: WebdriverIO.Config = {
runner: "local",
autoCompileOpts: {
tsNodeOpts: {
project: "./test/wdio/tsconfig.json",
},
},
specs: ["./test/wdio/**/*.spec.ts"],
maxInstances: 1,
capabilities: [
{
browserName: "vscode",
browserVersion: "stable",
"wdio:vscodeOptions": {
extensionPath: path.resolve(process.cwd()),
workspacePath: path.resolve(process.cwd(), "test", "wdio", "fixtures"),
userSettings: {
"editor.fontSize": 14,
"ansible.lightspeed.enabled": true,
"ansible.validation.lint.enabled": false,
},
vscodeArgs: {
"extensions-dir": extensionsDir,
"disable-extensions": false,
"disable-gpu": true,
},
},
},
],
logLevel: "warn",
bail: 0,
waitforTimeout: 10000,
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
services: [
[
"vscode",
{
cachePath: testRoot,
},
],
],
framework: "mocha",
reporters: ["spec"],
mochaOpts: {
ui: "bdd",
timeout: 120000,
},
};