Skip to content

Commit 0e47a48

Browse files
committed
test: bump Appium to 3.2.0
1 parent b7ec7e5 commit 0e47a48

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

appium/scripts/run-local.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,16 @@ build_rn_ios() {
233233
(cd "$DEMO_DIR/ios" && pod install)
234234

235235
info "Building debug .app for simulator (this may take a few minutes)..."
236-
(cd "$DEMO_DIR/ios" && xcodebuild \
236+
(cd "$DEMO_DIR/ios" && FORCE_BUNDLING=1 xcodebuild \
237237
-workspace demo.xcworkspace \
238238
-scheme demo \
239239
-configuration Debug \
240240
-sdk iphonesimulator \
241241
-derivedDataPath build \
242242
CODE_SIGN_IDENTITY="" \
243243
CODE_SIGNING_REQUIRED=NO \
244-
CODE_SIGNING_ALLOWED=NO)
244+
CODE_SIGNING_ALLOWED=NO \
245+
COMPILER_INDEX_STORE_ENABLE=NO)
245246

246247
[[ -d "$APP_PATH" ]] || error ".app not found after build at $APP_PATH"
247248
info "App built: $APP_PATH"
@@ -252,7 +253,7 @@ build_rn_android() {
252253
setup_rn_sdk
253254

254255
info "Building debug APK (this may take a few minutes)..."
255-
(cd "$DEMO_DIR/android" && ./gradlew assembleDebug)
256+
(bunx react-native build-android --mode=debug")
256257
257258
[[ -f "$APP_PATH" ]] || error ".apk not found after build at $APP_PATH"
258259
info "App built: $APP_PATH"

appium/wdio.android.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const config: WebdriverIO.Config = {
99
platformName: 'Android',
1010
'appium:app': isLocal ? process.env.APP_PATH : process.env.BROWSERSTACK_APP_URL,
1111
'appium:deviceName': process.env.DEVICE || 'Samsung Galaxy S24',
12-
'appium:platformVersion': process.env.OS_VERSION || '16',
12+
'appium:platformVersion': process.env.OS_VERSION || '16.0',
1313
'appium:automationName': 'UiAutomator2',
1414
...(process.env.BUNDLE_ID ? { 'appium:appPackage': process.env.BUNDLE_ID } : {}),
1515
'appium:autoGrantPermissions': false,

appium/wdio.shared.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const bstackOptions = {
2121
sessionName: process.env.SDK_TYPE || 'unknown',
2222
debug: true,
2323
networkLogs: true,
24-
appiumVersion: '2.6',
24+
appiumVersion: '3.2.0',
2525
};
2626

2727
export const sharedConfig: WebdriverIO.Config = {

0 commit comments

Comments
 (0)