config.json
1.25 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
{
"port": 8889,
"iosCaps": {
"platformName": "iOS",
"automationName": "XCUITest",
"deviceName": "iPhone 6",
"platformVersion": "12.1.4",
"app": "/Users/chenfeng/Downloads/yoho.ipa",
"udid": "auto",
"autoAcceptAlerts": true,
"showIOSLog": false,
"noReset": true
},
"androidCaps": {
"platformName": "Android",
"automationName": "UiAutomator2",
"deviceName": "My Android Device",
"platformVersion": "9",
"app": "/Users/chenfeng/Downloads/yoho.apk",
"autoAcceptAlerts": true,
"noReset": true,
"appPackage": "com.yoho",
"appActivity": "com.yoho.yohobuy.start.ui.StartActivity"
},
"serverConfig": {
"host": "localhost",
"port": 4723
},
"cases": {
"ios": [
{
"name": "有货iOS自动自测用例",
"scenes": [
"iOS_TAB_HOME",
"iOS_TAB_CATEGORY",
"iOS_TAB_UFOHOME",
"iOS_TAB_MINE",
"IOS_PRODUCT_DETAIL",
"IOS_PRODUCT_DETAIL_GROUP",
"iOS_BUSINESS_SHOPPING"
]
}
],
"android": [{
"name": "商品详情页",
"scenes": ["ANDROID_UFO_PRODUCT_DETAIL"]
}, {
"name": "购物车",
"scenes": ["ANDROID_PRODUCT_DETAIL", "ANDROID_PRODUCT_CART"]
}]
}
}