@@ -20,18 +20,32 @@ jobs:
2020 test_targets :
2121 - target : test/functional/ios/driver_test.rb,test/functional/ios/patch_test.rb
2222 name : test1
23+ platform : ios
24+ wdaName : WebDriverAgentRunner-Runner.app
2325 - target : test/functional/ios/webdriver/create_session_test.rb,test/functional/ios/webdriver/w3c_actions_test.rb
2426 name : test2
27+ platform : ios
28+ wdaName : WebDriverAgentRunner-Runner.app
2529 - target : test/functional/ios/webdriver/device_test.rb
2630 name : test3
31+ platform : ios
32+ wdaName : WebDriverAgentRunner-Runner.app
2733 - target : test/functional/ios/ios/device_test.rb
2834 name : test4
35+ platform : ios
36+ wdaName : WebDriverAgentRunner-Runner.app
2937 - target : test/functional/ios/ios/device_wda_attachment_test.rb,test/functional/ios/ios/search_context_test.rb
3038 name : test5
39+ platform : ios
40+ wdaName : WebDriverAgentRunner-Runner.app
3141 - target : test/functional/ios/ios/image_comparison_test.rb
3242 name : test6
43+ platform : ios
44+ wdaName : WebDriverAgentRunner-Runner.app
3345 - target : test/functional/ios/tv_driver_test.rb
3446 name : test7
47+ platform : tvOS
48+ wdaName : WebDriverAgentRunner_tvOS-Runner.app
3549
3650 runs-on : macos-15
3751
7084 appium plugin install execute-driver
7185 nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
7286
87+ - run : |
88+ appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
89+ name: Downloading prebuilt WDA
90+
7391 - name : Set up Ruby
7492 uses : ruby/setup-ruby@v1
7593 with :
83101 env :
84102 IGNORE_VERSION_SKIP : true
85103 CI : true
104+ LOCAL_PREBUILT_WDA : ${{ github.workspace }}/wda/${{matrix.test_targets.wdaName}}
86105
87106 - name : Save server output
88107 if : ${{ always() }}
@@ -140,6 +159,10 @@ jobs:
140159 appium plugin install execute-driver
141160 nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
142161
162+ - run : |
163+ appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
164+ name: Downloading prebuilt WDA
165+
143166 - name : Set up Ruby
144167 uses : ruby/setup-ruby@v1
145168 with :
@@ -152,6 +175,7 @@ jobs:
152175 env :
153176 IGNORE_VERSION_SKIP : true
154177 CI : true
178+ LOCAL_PREBUILT_WDA : ${{ github.workspace }}/wda/WebDriverAgentRunner-Runner.app
155179
156180 - name : Save server output
157181 if : ${{ always() }}
0 commit comments