File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ const allCaps = [
5151 {
5252 platformName : 'iOS' ,
5353 // 'appium:noReset': true,
54- 'appium:deviceName' : 'iPhone 16 Pro' ,
54+ 'appium:deviceName' : 'iPhone 17 Pro' ,
5555 'appium:waitForIdleTimeout' : 0 ,
5656 'appium:maxTypingFrequency' : 30 ,
57- 'appium:platformVersion' : '18.4 ' ,
57+ 'appium:platformVersion' : '26.0 ' ,
5858 'appium:automationName' : 'xcuitest' ,
5959 'appium:app' : iosPath ,
6060 'appium:autoAcceptAlerts' : true ,
Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ adb shell settings put global window_animation_scale 0
99adb shell settings put global transition_animation_scale 0
1010adb shell settings put global animator_duration_scale 0
1111
12+ # Install uiautomator2 driver for Appium 2.x+
13+ echo " Installing Appium uiautomator2 driver..."
14+ yarn appium driver install uiautomator2 || npx appium driver install uiautomator2 || true
15+
16+ # Verify installation
17+ yarn appium driver list || true
18+
1219if [[ " $IS_SMOKE " == " true" ]]; then
1320 echo " Running ANDROID SMOKE tests"
1421 yarn appium:smokeAndroid
Original file line number Diff line number Diff line change 44echo " Built app at: $BITRISE_APP_DIR_PATH "
55ls -la " $BITRISE_APP_DIR_PATH " || true
66
7- DEVICE_NAME=" iPhone 16 Pro"
7+ DEVICE_NAME=" iPhone 17 Pro"
88
99SIM_STATUS=$( xcrun simctl list devices | grep " $DEVICE_NAME " | grep -o " Booted" || true)
1010
1919which node
2020node -v
2121yarn -v
22- npx appium -v || true
23- npx appium driver list || true
22+
23+ # Install xcuitest driver for Appium 2.x+
24+ echo " Installing Appium xcuitest driver..."
25+ yarn appium driver install xcuitest || npx appium driver install xcuitest || true
26+
27+ # Verify installation
28+ yarn appium -v || true
29+ yarn appium driver list || true
2430
2531if [[ " $IS_SMOKE " == " true" ]]; then
2632 echo " Running iOS SMOKE tests"
You can’t perform that action at this time.
0 commit comments