Skip to content

Commit b2bd72f

Browse files
authored
test: enable bidi tests (#611)
* use appium3 branch on mykola * remove * disable images/execute-driver * enable uia2 * use main repo branches * Update functional-test.yml * use .apk * Update functional-test.yml * use rc * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * run npm list as a debug * Update functional-test.yml * try without -g * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * Update functional-test.yml * drop @rc from appium modules * Update functional-test.yml
1 parent 8b3a5af commit b2bd72f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/functional-test.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
8686
8787
- run: |
88-
appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
88+
appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
8989
name: Downloading prebuilt WDA
9090
9191
- name: Set up Ruby
@@ -149,18 +149,19 @@ jobs:
149149
brew install applesimutils
150150
151151
# Start Appium
152+
- run: npm root -g
152153
- name: Install appium and mjpeg-consumer
153154
run: |
154155
npm install -g appium
155156
npm install -g mjpeg-consumer
156157
- run: |
157158
appium driver install xcuitest
158-
appium plugin install images@2.1.8
159+
appium plugin install images
159160
appium plugin install execute-driver
160-
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
161+
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
161162
162163
- run: |
163-
appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
164+
appium driver run xcuitest download-wda-sim --platform=ios --outdir=${{github.workspace}}/wda
164165
name: Downloading prebuilt WDA
165166
166167
- name: Set up Ruby
@@ -223,13 +224,12 @@ jobs:
223224
- target: test/functional/android/android/mjpeg_server_test.rb,test/functional/android/android/image_comparison_test.rb
224225
automation_name: espresso
225226
name: test10
226-
# FIXME: rever the comment out after https://github.com/appium/appium/pull/21468
227-
# - target: test/functional/android/webdriver/bidi_test.rb
228-
# automation_name: uiautomator2
229-
# name: test11
230-
# - target: test/functional/android/webdriver/bidi_test.rb
231-
# automation_name: espresso
232-
# name: test12
227+
- target: test/functional/android/webdriver/bidi_test.rb
228+
automation_name: uiautomator2
229+
name: test11
230+
- target: test/functional/android/webdriver/bidi_test.rb
231+
automation_name: espresso
232+
name: test12
233233

234234
env:
235235
API_LEVEL: 36
@@ -254,7 +254,7 @@ jobs:
254254
appium driver install ${{matrix.test_targets.automation_name}}
255255
appium plugin install images
256256
appium plugin install execute-driver
257-
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 &
258258
259259
- name: Enable KVM group perms
260260
run: |

0 commit comments

Comments
 (0)