Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- target: test/functional/ios/safari_tests.py
name: func_test_ios1

runs-on: macos-14
runs-on: macos-15

# Please make sure the available Xcode versions and iOS versions
# on the runner images. https://github.com/actions/runner-images
env:
XCODE_VERSION: 15.3
IOS_VERSION: 17.4
IPHONE_MODEL: iPhone 15 Plus
XCODE_VERSION: 16.4
IOS_VERSION: 18.5
IPHONE_MODEL: iPhone 16 Plus

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
fail-fast: false
matrix:
include:
- platform: macos-14
- platform: macos-15
e2e-tests: flutter-ios
- platform: ubuntu-latest
e2e-tests: flutter-android
Expand All @@ -197,9 +197,9 @@ jobs:
API_LEVEL: 28
ARCH: x86
CI: true
XCODE_VERSION: 15.4
IOS_VERSION: 17.5
IPHONE_MODEL: iPhone 15
XCODE_VERSION: 16.4
IOS_VERSION: 18.5
IPHONE_MODEL: iPhone 16
FLUTTER_ANDROID_APP: "https://github.com/AppiumTestDistribution/appium-flutter-server/releases/latest/download/app-debug.apk"
FLUTTER_IOS_APP: "https://github.com/AppiumTestDistribution/appium-flutter-server/releases/latest/download/ios.zip"

Expand Down Expand Up @@ -231,12 +231,12 @@ jobs:
node-version: 'lts/*'

- name: Install Appium
run: npm install --location=global appium
run: npm install --location=global appium@2.19.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we want to lock these? I thought latest version is what we want

Copy link
Member Author

@KazuCocoa KazuCocoa Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flutter integration driver hasn't supported appium 3 yet

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file has tests with uia2/xcuitest drivers as well. So this is only for flutter integration driver combination test case only thing


- name: Install Android drivers and Run Appium
if: matrix.e2e-tests == 'flutter-android'
run: |
appium driver install uiautomator2
appium driver install uiautomator2@4.2.9
appium driver install appium-flutter-integration-driver --source npm
nohup appium --allow-insecure=adb_shell --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium_flutter_android.log &

Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
- name: Install IOS drivers and Run Appium
if: matrix.e2e-tests == 'flutter-ios'
run: |
appium driver install xcuitest
appium driver install xcuitest@9.10.5
appium driver install appium-flutter-integration-driver --source npm
appium driver run xcuitest build-wda
nohup appium --allow-insecure=adb_shell --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium_ios.log &
Expand Down
4 changes: 2 additions & 2 deletions test/functional/ios/helper/desired_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_desired_capabilities(app: Optional[str] = None) -> Dict[str, Any]:
desired_caps: Dict[str, Any] = {
'deviceName': iphone_device_name(),
'platformName': 'iOS',
'platformVersion': '17.4',
'platformVersion': os.getenv('IOS_VERSION') or '17.4',
'automationName': 'XCUITest',
'allowTouchIdEnroll': True,
'wdaLocalPort': wda_port(),
Expand Down Expand Up @@ -75,7 +75,7 @@ def wda_port() -> int:


def iphone_device_name() -> str:
prefix = 'iPhone 15 Plus'
prefix = os.getenv('IPHONE_MODEL') or 'iPhone 15 Plus'
if PytestXdistWorker.NUMBER == PytestXdistWorker.gw(0):
return f'{prefix} - 8100'
elif PytestXdistWorker.NUMBER == PytestXdistWorker.gw(1):
Expand Down
Loading