Skip to content

Commit 867876c

Browse files
tests: bump dev appium version and add api levels
1 parent b13d719 commit 867876c

File tree

21 files changed

+65
-15434
lines changed

21 files changed

+65
-15434
lines changed

.vscode/launch.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"999999",
1414
"--colors",
1515
"--opts", "./e2e/config/mocha.opts",
16-
"--runType", "sim.iPhone7.iOS100"
16+
"--runType", "sim.iPhone8",
17+
"--attachToDebug",
18+
"--port",
19+
"8300"
1720
],
1821
"internalConsoleOptions": "openOnSessionStart"
1922
},

e2e/config/appium.capabilities.json

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
"deviceName": "Emulator-Api19-Default",
66
"avd": "Emulator-Api19-Default",
77
"lt": 60000,
8-
"automationName": "Appium",
9-
"appActivity": "com.tns.NativeScriptActivity",
108
"newCommandTimeout": 720,
11-
"noReset": false,
12-
"fullReset": true,
9+
"noReset": true,
10+
"fullReset": false,
1311
"app": ""
1412
},
1513
"android21": {
@@ -18,11 +16,9 @@
1816
"deviceName": "Emulator-Api21-Default",
1917
"avd": "Emulator-Api21-Default",
2018
"lt": 60000,
21-
"automationName": "Appium",
22-
"appActivity": "com.tns.NativeScriptActivity",
2319
"newCommandTimeout": 720,
24-
"noReset": false,
25-
"fullReset": true,
20+
"noReset": true,
21+
"fullReset": false,
2622
"app": ""
2723
},
2824
"android23": {
@@ -31,11 +27,9 @@
3127
"deviceName": "Emulator-Api23-Default",
3228
"avd": "Emulator-Api23-Default",
3329
"lt": 60000,
34-
"automationName": "Appium",
35-
"appActivity": "com.tns.NativeScriptActivity",
3630
"newCommandTimeout": 720,
37-
"noReset": false,
38-
"fullReset": true,
31+
"noReset": true,
32+
"fullReset": false,
3933
"app": ""
4034
},
4135
"android24": {
@@ -44,11 +38,9 @@
4438
"deviceName": "Emulator-Api24-Default",
4539
"avd": "Emulator-Api24-Default",
4640
"lt": 60000,
47-
"automationName": "UIAutomator2",
48-
"appActivity": "com.tns.NativeScriptActivity",
4941
"newCommandTimeout": 720,
50-
"noReset": false,
51-
"fullReset": true,
42+
"noReset": true,
43+
"fullReset": false,
5244
"app": ""
5345
},
5446
"android25": {
@@ -57,11 +49,9 @@
5749
"deviceName": "Emulator-Api25-Google",
5850
"avd": "Emulator-Api25-Google",
5951
"lt": 60000,
60-
"automationName": "UIAutomator2",
61-
"appActivity": "com.tns.NativeScriptActivity",
6252
"newCommandTimeout": 720,
63-
"noReset": false,
64-
"fullReset": true,
53+
"noReset": true,
54+
"fullReset": false,
6555
"app": ""
6656
},
6757
"android26": {
@@ -70,27 +60,41 @@
7060
"deviceName": "Emulator-Api26-Google",
7161
"avd": "Emulator-Api26-Google",
7262
"lt": 60000,
73-
"automationName": "UIAutomator2",
74-
"appActivity": "com.tns.NativeScriptActivity",
7563
"newCommandTimeout": 720,
76-
"noReset": false,
77-
"fullReset": true,
64+
"noReset": true,
65+
"fullReset": false,
66+
"app": ""
67+
},
68+
"android27": {
69+
"platformName": "Android",
70+
"platformVersion": "27",
71+
"deviceName": "Emulator-Api27-Google",
72+
"avd": "Emulator-Api27-Google",
73+
"lt": 60000,
74+
"newCommandTimeout": 720,
75+
"noReset": true,
76+
"fullReset": false,
77+
"app": ""
78+
},
79+
"sim.iPhone7": {
80+
"platformName": "iOS",
81+
"deviceName": "iPhone 7",
82+
"noReset": true,
83+
"fullReset": false,
7884
"app": ""
7985
},
80-
"sim.iPhone7.iOS100": {
86+
"sim.iPhone8": {
8187
"platformName": "iOS",
82-
"platformVersion": "10.0",
83-
"deviceName": "iPhone 7 100",
88+
"deviceName": "iPhone 8",
8489
"noReset": true,
8590
"fullReset": false,
8691
"app": ""
8792
},
88-
"sim.iPhoneX.iOS110": {
93+
"sim.iPhoneX": {
8994
"platformName": "iOS",
90-
"platformVersion": "11.0",
91-
"deviceName": "iPhone X 110",
95+
"deviceName": "iPhone X",
9296
"noReset": true,
9397
"fullReset": false,
9498
"app": ""
9599
}
96-
}
100+
}

e2e/config/mocha.opts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
--timeout 80000
1+
--timeout 999999
22
--recursive e2e
33
--reporter mocha-multi
4-
--reporter-options spec=-,mocha-junit-reporter=test-results.xml
4+
--reporter-options spec=-,mocha-junit-reporter=test-results.xml
5+
--exit
Binary file not shown.
18 KB
Loading
21.6 KB
Loading
10.8 KB
Loading
12.1 KB
Loading
59.9 KB
Loading

0 commit comments

Comments
 (0)