-
Notifications
You must be signed in to change notification settings - Fork 109
/
wdio.appium.conf.ts
72 lines (69 loc) · 2.5 KB
/
wdio.appium.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
65
66
67
68
69
70
71
72
import { config as sharedConfig } from './wdio.shared.conf.ts';
exports.config = {
...config,
...{
host: '0.0.0.0',
port: 4723,
//path: '/wd/hub',
services: [
['appium',
{
// For options see
// https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-appium-service
args: {
// For arguments see
// https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-appium-service
},
command: 'appium',
},
],
],
// For iOS bases mobile device
capabilities: [{
appiumVersion: '1.6.5',
automationName: 'XCUITest',
platformName: 'iOS',
//platformVersion: '9.0',
deviceName: 'iPhone Simulator',
//deviceName: 'iPhone 6s',
browserName: 'Safari',
//orientation: 'PORTRAIT',
//nativeInstrumentsLib: true,
//isolateSimDevice: true,
clearSystemFiles: true,
//commandTimeout: '7200',
//app: APP_PATH
}],
// // For Android bases mobile device
// capabilities: [{
// appiumVersion: '1.6.5',
// automationName: 'Appium',
// platformName: 'Android',
// //platformVersion: '9.0',
// deviceName: 'Android Emulator',
// //deviceName: 'iPhone 6s',
// browserName: 'chrome',
// // chromeOptions: {
// // androidPackage: 'com.android.chrome',
// // },
// //setDebugApp: '--persistent com.android.chrome',
// chromeOptions: {args: ['--no-managed-user-acknowledgment-check', '--no-user-gesture-required', '--oobe-force-show-screen ⊗']},
// //orientation: 'PORTRAIT',
// //nativeInstrumentsLib: true,
// //isolateSimDevice: true,
// //clearSystemFiles: true,
// //app: APP_PATH
// commandTimeout: '7200',
// noReset: false,
// //show_on_first_run_allowed: false,
// dontStopAppOnReset: false,
// show_on_first_run_allowed : false,
// show_welcome_page: false,
// appActivity: '.MainActivity',
// appWaitActivity: 'SplashActivity',
// noSign: true,
// // intentCategory: 'android.intent.category.APP_CONTACTS',
// // intentAction: 'android.intent.action.MAIN',
// }],
}
};