@@ -20,27 +20,41 @@ 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
36- runs-on : macos-14
50+ runs-on : macos-15
3751
3852 # Please make sure the available Xcode versions and iOS versions
3953 # on the runner images. https://github.com/actions/runner-images
4054 env :
41- XCODE_VERSION : 15.3
42- IOS_VERSION : 17.4
43- IOS_DEVICE_NAME : iPhone 15 Plus
55+ XCODE_VERSION : 16.4
56+ IOS_VERSION : 18.5
57+ IOS_DEVICE_NAME : iPhone 16 Plus
4458
4559 steps :
4660 - uses : actions/checkout@v3
7185 # nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
7286 nohup appium --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
7387
88+ - run : |
89+ appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
90+ name: Downloading prebuilt WDA
91+
7492 - name : Set up Ruby
7593 uses : ruby/setup-ruby@v1
7694 with :
84102 env :
85103 IGNORE_VERSION_SKIP : true
86104 CI : true
105+ LOCAL_PREBUILT_WDA : ${{ github.workspace }}/wda/${{matrix.test_targets.wdaName}}
87106
88107 - name : Save server output
89108 if : ${{ always() }}
@@ -95,7 +114,14 @@ jobs:
95114 test/report/
96115
97116 ios_test_with_other_deps :
98- runs-on : macos-14
117+ runs-on : macos-15
118+
119+ # Please make sure the available Xcode versions and iOS versions
120+ # on the runner images. https://github.com/actions/runner-images
121+ env :
122+ XCODE_VERSION : 16.4
123+ IOS_VERSION : 18.5
124+ IOS_DEVICE_NAME : iPhone 16 Plus
99125
100126 steps :
101127 - uses : actions/checkout@v3
@@ -135,6 +161,10 @@ jobs:
135161 # nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
136162 nohup appium --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
137163
164+ - run : |
165+ appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{ github.workspace }}/wda
166+ name: Downloading prebuilt WDA
167+
138168 - name : Set up Ruby
139169 uses : ruby/setup-ruby@v1
140170 with :
@@ -147,6 +177,7 @@ jobs:
147177 env :
148178 IGNORE_VERSION_SKIP : true
149179 CI : true
180+ LOCAL_PREBUILT_WDA : ${{ github.workspace }}/wda/WebDriverAgentRunner-Runner.app
150181
151182 - name : Save server output
152183 if : ${{ always() }}
0 commit comments