Skip to content

Commit 9973f44

Browse files
authored
ci: Update Xcode and iOS versions in workflow (#677)
* ci: Update Xcode and iOS versions in workflow * Update macOS version in functional test workflow * update test * update test
1 parent 7fcba33 commit 9973f44

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/functional-test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ jobs:
5555
platform: tvOS
5656
wdaName: WebDriverAgentRunner_tvOS-Runner.app
5757

58-
runs-on: macos-15
58+
runs-on: macos-26
5959

6060
# Please make sure the available Xcode versions and iOS versions
6161
# on the runner images. https://github.com/actions/runner-images
6262
env:
63-
XCODE_VERSION: 16.4
64-
IOS_VERSION: 18.5
65-
IOS_DEVICE_NAME: iPhone 16 Plus
63+
XCODE_VERSION: 26.4
64+
IOS_VERSION: 26.4
65+
IOS_DEVICE_NAME: iPhone 17
6666

6767
steps:
6868
- uses: actions/checkout@v6
@@ -80,7 +80,7 @@ jobs:
8080

8181
- uses: futureware-tech/simulator-action@v5
8282
with:
83-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
83+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md
8484
model: ${{ env.IOS_DEVICE_NAME }}
8585
os_version: ${{ env.IOS_VERSION }}
8686
wait_for_boot: true
@@ -123,14 +123,14 @@ jobs:
123123
test/report/
124124
125125
ios_test_with_other_deps:
126-
runs-on: macos-15
126+
runs-on: macos-26
127127

128128
# Please make sure the available Xcode versions and iOS versions
129129
# on the runner images. https://github.com/actions/runner-images
130130
env:
131-
XCODE_VERSION: 16.4
132-
IOS_VERSION: 18.5
133-
IOS_DEVICE_NAME: iPhone 16 Plus
131+
XCODE_VERSION: 26.4
132+
IOS_VERSION: 26.4
133+
IOS_DEVICE_NAME: iPhone 17
134134

135135
steps:
136136
- uses: actions/checkout@v6
@@ -148,7 +148,7 @@ jobs:
148148

149149
- uses: futureware-tech/simulator-action@v5
150150
with:
151-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
151+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md
152152
model: ${{ env.IOS_DEVICE_NAME }}
153153
os_version: ${{ env.IOS_VERSION }}
154154
wait_for_boot: true

test/functional/ios/patch_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def test_location_rel
5555
location = e.location_rel @@driver
5656

5757
expected_x, expected_y = if over_ios17?(@@driver)
58-
# iPhone 15 Plus
59-
['64.0 / 430.0', '245.0 / 932.0']
58+
# iPhone 17
59+
['64.0 / 402.0', '263.5 / 874.0']
6060
elsif over_ios14?(@@driver)
6161
# iPhone 11
6262
['64.0 / 414.0', '239.5 / 896.0']

0 commit comments

Comments
 (0)