95
95
parameters :
96
96
xcodeVersion : ${{ parameters.xcodeForIOS }}
97
97
- template : ./functional/run_appium.yml
98
- - script : npm install -g opencv4nodejs@4.17.0
99
- displayName : Install opencv4nodejs@4.17.0
100
- - script : bundle exec rake test:func:ios TESTS=test/functional/ios/ios/device_wda_attachment_test.rb,test/functional/ios/ios/image_comparison_test.rb
98
+ - script : bundle exec rake test:func:ios TESTS=test/functional/ios/ios/device_wda_attachment_test.rb,test/functional/ios/ios/search_context_test.rb
101
99
displayName : Run tests
102
100
- template : ./functional/publish_test_result.yml
103
101
parameters :
@@ -117,7 +115,7 @@ jobs:
117
115
- script : brew install ffmpeg && brew tap wix/brew && brew install wix/brew/applesimutils
118
116
displayName : Install ffmpeg and applesimutils
119
117
- template : ./functional/run_appium.yml
120
- - script : bundle exec rake test:func:ios TESTS=test/functional/ios/ios/mjpeg_server_test.rb,test/functional/ios/ios/mobile_commands_test.rb,test/functional/ios/ios/search_context_test.rb
118
+ - script : bundle exec rake test:func:ios TESTS=test/functional/ios/ios/mjpeg_server_test.rb,test/functional/ios/ios/mobile_commands_test.rb
121
119
displayName : Run tests
122
120
- template : ./functional/publish_test_result.yml
123
121
parameters :
@@ -141,6 +139,28 @@ jobs:
141
139
parameters :
142
140
xcodeVersion : ' Run_func_test_on_iOS_tv'
143
141
142
+ # Skip since opencv4nodejs fails to install on the macOS instance
143
+ # - job: func_test_ios_opencv
144
+ # pool:
145
+ # vmImage: ${{ parameters.vmImageForIOS }}
146
+ # variables:
147
+ # CI: ${{ parameters.ci }}
148
+ # IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
149
+ # APPIUM_VERSION: ${{ parameters.appiumVersion }}
150
+ # steps:
151
+ # - template: ./functional/ios_setup.yml
152
+ # parameters:
153
+ # xcodeVersion: ${{ parameters.xcodeForIOS }}
154
+ # - template: ./functional/run_appium.yml
155
+ # - script: npm install -g opencv4nodejs@5.1.0
156
+ # displayName: Install opencv4nodejs@5.1.0
157
+ # - script: bundle exec rake test:func:ios test/functional/ios/ios/image_comparison_test.rb
158
+ # displayName: Run tests
159
+ # - template: ./functional/publish_test_result.yml
160
+ # parameters:
161
+ # xcodeVersion: 'Run_func_test_on_iOS_opencv'
162
+
163
+
144
164
- job : func_test_android_base
145
165
pool :
146
166
vmImage : ${{ parameters.vmImage }}
@@ -227,38 +247,13 @@ jobs:
227
247
steps :
228
248
- template : ./functional/android_setup.yml
229
249
- template : ./functional/run_appium.yml
230
- - script : npm install -g opencv4nodejs@4.17.0
231
- displayName : Install opencv4nodejs@4.17.0
232
- - script : bundle exec rake test:func:android TESTS=test/functional/android/android/image_comparison_test.rb,test/functional/android/android/mjpeg_server_test.rb
233
- displayName : Run tests
234
- - template : ./functional/publish_test_result.yml
235
- parameters :
236
- xcodeVersion : ' func_test_android_android2'
237
-
238
- - job : func_test_android_android3
239
- pool :
240
- vmImage : ${{ parameters.vmImage }}
241
- variables :
242
- CI : ${{ parameters.ci }}
243
- ANDROID_SDK_VERSION : ${{ parameters.androidSDK }}
244
- IGNORE_VERSION_SKIP : ${{ parameters.ignoreVersionSkip }}
245
- APPIUM_VERSION : ${{ parameters.appiumVersion }}
246
- strategy :
247
- matrix :
248
- uiautomator2 :
249
- AUTOMATION_NAME_DROID : ' uiautomator2'
250
- espresso :
251
- AUTOMATION_NAME_DROID : ' espresso'
252
- steps :
253
- - template : ./functional/android_setup.yml
254
- - template : ./functional/run_appium.yml
255
- - script : bundle exec rake test:func:android TESTS=test/functional/android/android/mobile_commands_test.rb,test/functional/android/android/search_context_test.rb
250
+ - script : bundle exec rake test:func:android TESTS=test/functional/android/android/mobile_commands_test.rb,test/functional/android/android/search_context_test.rb,test/functional/android/android/mjpeg_server_test.rb
256
251
displayName : Run tests
257
252
- template : ./functional/publish_test_result.yml
258
253
parameters :
259
254
xcodeVersion : ' func_test_android_android3'
260
255
261
- - job : func_test_android_android4
256
+ - job : func_test_android_android3
262
257
pool :
263
258
vmImage : ${{ parameters.vmImage }}
264
259
variables :
@@ -279,7 +274,7 @@ jobs:
279
274
displayName : Run tests
280
275
- template : ./functional/publish_test_result.yml
281
276
parameters :
282
- xcodeVersion : ' func_test_android_android4 '
277
+ xcodeVersion : ' func_test_android_android3 '
283
278
284
279
- job : func_test_android_mobile_command_espresso
285
280
pool :
@@ -304,3 +299,29 @@ jobs:
304
299
- template : ./functional/publish_test_result.yml
305
300
parameters :
306
301
xcodeVersion : ' func_test_android_mobile_command_espresso'
302
+
303
+ # Skip since opencv4nodejs fails to install on the macOS instance
304
+ # - job: func_test_android_opencv
305
+ # pool:
306
+ # vmImage: ${{ parameters.vmImage }}
307
+ # variables:
308
+ # CI: ${{ parameters.ci }}
309
+ # ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
310
+ # IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
311
+ # APPIUM_VERSION: ${{ parameters.appiumVersion }}
312
+ # strategy:
313
+ # matrix:
314
+ # uiautomator2:
315
+ # AUTOMATION_NAME_DROID: 'uiautomator2'
316
+ # espresso:
317
+ # AUTOMATION_NAME_DROID: 'espresso'
318
+ # steps:
319
+ # - template: ./functional/android_setup.yml
320
+ # - template: ./functional/run_appium.yml
321
+ # - script: npm install -g opencv4nodejs@5.1.0
322
+ # displayName: Install opencv4nodejs@5.1.0
323
+ # - script: bundle exec rake test:func:android TESTS=test/functional/android/android/image_comparison_test.rb
324
+ # displayName: Run tests
325
+ # - template: ./functional/publish_test_result.yml
326
+ # parameters:
327
+ # xcodeVersion: 'func_test_android_android2'
0 commit comments