Skip to content

Commit 051293f

Browse files
authored
Update functional-test.yml
1 parent 21caf57 commit 051293f

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

.github/workflows/functional-test.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
# Start Appium
8080
- run: npm install -g appium
8181
- run: |
82-
appium driver install xcuitest@rc
82+
appium driver install xcuitest
8383
appium plugin install images
8484
appium plugin install execute-driver
8585
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
@@ -155,7 +155,7 @@ jobs:
155155
npm install -g appium
156156
npm install -g mjpeg-consumer
157157
- run: |
158-
appium driver install xcuitest@rc
158+
appium driver install xcuitest
159159
appium plugin install images
160160
appium plugin install execute-driver
161161
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
@@ -197,40 +197,39 @@ jobs:
197197
- target: test/functional/android/driver_test.rb,test/functional/android/patch_test.rb,test/functional/android/android/device_test.rb,test/functional/android/android/search_context_test.rb
198198
automation_name: uiautomator2
199199
name: test1
200-
# - target: test/functional/android/driver_test.rb,test/functional/android/patch_test.rb,test/functional/android/android/device_test.rb,test/functional/android/android/search_context_test.rb
201-
# automation_name: espresso
202-
# name: test2
200+
- target: test/functional/android/driver_test.rb,test/functional/android/patch_test.rb,test/functional/android/android/device_test.rb,test/functional/android/android/search_context_test.rb
201+
automation_name: espresso
202+
name: test2
203203
- target: test/functional/android/webdriver/create_session_test.rb,test/functional/android/webdriver/device_test.rb,test/functional/android/webdriver/w3c_actions_test.rb
204204
automation_name: uiautomator2
205205
name: test3
206-
# - target: test/functional/android/webdriver/create_session_test.rb,test/functional/android/webdriver/device_test.rb,test/functional/android/webdriver/w3c_actions_test.rb
207-
# automation_name: espresso
208-
# name: test4
206+
- target: test/functional/android/webdriver/create_session_test.rb,test/functional/android/webdriver/device_test.rb,test/functional/android/webdriver/w3c_actions_test.rb
207+
automation_name: espresso
208+
name: test4
209209
- target: test/functional/android/android/mobile_commands_test.rb
210210
automation_name: uiautomator2
211211
name: test5
212-
# - target: test/functional/android/android/mobile_commands_test.rb
213-
# automation_name: espresso
214-
# name: test6
212+
- target: test/functional/android/android/mobile_commands_test.rb
213+
automation_name: espresso
214+
name: test6
215215
- target: test/functional/android/android/device_data_test.rb
216216
automation_name: uiautomator2
217217
name: test7
218-
# - target: test/functional/android/android/device_data_test.rb
219-
# automation_name: espresso
220-
# name: test8
218+
- target: test/functional/android/android/device_data_test.rb
219+
automation_name: espresso
220+
name: test8
221221
- target: test/functional/android/android/mjpeg_server_test.rb,test/functional/android/android/image_comparison_test.rb
222222
automation_name: uiautomator2
223223
name: test9
224-
# - target: test/functional/android/android/mjpeg_server_test.rb,test/functional/android/android/image_comparison_test.rb
225-
# automation_name: espresso
226-
# name: test10
227-
# FIXME: rever the comment out after https://github.com/appium/appium/pull/21468
224+
- target: test/functional/android/android/mjpeg_server_test.rb,test/functional/android/android/image_comparison_test.rb
225+
automation_name: espresso
226+
name: test10
228227
- target: test/functional/android/webdriver/bidi_test.rb
229228
automation_name: uiautomator2
230229
name: test11
231-
# - target: test/functional/android/webdriver/bidi_test.rb
232-
# automation_name: espresso
233-
# name: test12
230+
- target: test/functional/android/webdriver/bidi_test.rb
231+
automation_name: espresso
232+
name: test12
234233

235234
env:
236235
API_LEVEL: 36
@@ -252,10 +251,10 @@ jobs:
252251
# Start Appium
253252
- run: npm install -g appium
254253
- run: |
255-
appium driver install uiautomator2@rc
254+
appium driver install ${{matrix.test_targets.automation_name}}
256255
appium plugin install images
257256
appium plugin install execute-driver
258-
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
257+
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
259258
260259
- name: Enable KVM group perms
261260
run: |

0 commit comments

Comments
 (0)