diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index 1f2f703a..39aa9c6f 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -55,14 +55,14 @@ jobs: platform: tvOS wdaName: WebDriverAgentRunner_tvOS-Runner.app - runs-on: macos-15 + runs-on: macos-26 # Please make sure the available Xcode versions and iOS versions # on the runner images. https://github.com/actions/runner-images env: - XCODE_VERSION: 16.4 - IOS_VERSION: 18.5 - IOS_DEVICE_NAME: iPhone 16 Plus + XCODE_VERSION: 26.4 + IOS_VERSION: 26.4 + IOS_DEVICE_NAME: iPhone 17 steps: - uses: actions/checkout@v6 @@ -80,7 +80,7 @@ jobs: - uses: futureware-tech/simulator-action@v5 with: - # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md + # https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md model: ${{ env.IOS_DEVICE_NAME }} os_version: ${{ env.IOS_VERSION }} wait_for_boot: true @@ -123,14 +123,14 @@ jobs: test/report/ ios_test_with_other_deps: - runs-on: macos-15 + runs-on: macos-26 # Please make sure the available Xcode versions and iOS versions # on the runner images. https://github.com/actions/runner-images env: - XCODE_VERSION: 16.4 - IOS_VERSION: 18.5 - IOS_DEVICE_NAME: iPhone 16 Plus + XCODE_VERSION: 26.4 + IOS_VERSION: 26.4 + IOS_DEVICE_NAME: iPhone 17 steps: - uses: actions/checkout@v6 @@ -148,7 +148,7 @@ jobs: - uses: futureware-tech/simulator-action@v5 with: - # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md + # https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md model: ${{ env.IOS_DEVICE_NAME }} os_version: ${{ env.IOS_VERSION }} wait_for_boot: true diff --git a/test/functional/ios/patch_test.rb b/test/functional/ios/patch_test.rb index 059ba6cd..7b9942b9 100644 --- a/test/functional/ios/patch_test.rb +++ b/test/functional/ios/patch_test.rb @@ -55,8 +55,8 @@ def test_location_rel location = e.location_rel @@driver expected_x, expected_y = if over_ios17?(@@driver) - # iPhone 15 Plus - ['64.0 / 430.0', '245.0 / 932.0'] + # iPhone 17 + ['64.0 / 402.0', '245.0 / 932.0'] elsif over_ios14?(@@driver) # iPhone 11 ['64.0 / 414.0', '239.5 / 896.0']