-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwdio.android.conf.mts
More file actions
50 lines (48 loc) · 1.23 KB
/
Copy pathwdio.android.conf.mts
File metadata and controls
50 lines (48 loc) · 1.23 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
import * as path from "node:path";
const androidAvd = process.env.OBSIDIAN_ANDROID_AVD;
export const config = {
runner: "local",
framework: "mocha",
specs: ["./test/specs/android.e2e.ts"],
maxInstances: 1,
bail: 0,
capabilities: [
{
browserName: "obsidian",
browserVersion: "latest",
platformName: "Android",
"appium:automationName": "UiAutomator2",
...(androidAvd ? { "appium:avd": androidAvd } : {}),
"appium:noReset": true,
"appium:autoGrantPermissions": true,
"appium:autoWebview": false,
"appium:autoWebviewTimeout": 30000,
"appium:newCommandTimeout": 240,
"appium:avdLaunchTimeout": 180000,
"appium:avdReadyTimeout": 180000,
"appium:uiautomator2ServerInstallTimeout": 120000,
"wdio:obsidianOptions": {
installerVersion: "latest",
plugins: ["."],
},
},
],
services: [
"obsidian",
["appium", {
args: {
allowInsecure: "*:chromedriver_autodownload,*:adb_shell",
},
}],
],
reporters: ["obsidian"],
cacheDir: path.resolve(".obsidian-cache"),
waitforTimeout: 60000,
waitforInterval: 250,
mochaOpts: {
ui: "bdd",
bail: false,
timeout: 180000,
},
logLevel: "warn",
};