feat: [SDK-4691] add native Android SDK support and refactor appium helpers#36
Merged
Conversation
nan-li
approved these changes
May 20, 2026
fadi-george
added a commit
that referenced
this pull request
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds native Android SDK support to the Appium E2E test harness and refactors the supporting helpers to be smaller and easier to maintain. Also includes a few targeted fixes uncovered while wiring up the native Android run.
Linear: SDK-4691
Details
Native Android support
feat(appium): add native Android SDK supportso the existing harness can target the native Android SDK alongside the cross-platform SDKs.-Pprops instead of hardcoded values.switchToNativeContextuniformly across SDKs and unify the snackbar check via the native context.Helper refactors (
appium/tests/helpers/app.ts,selectors.ts)app.tsfrom ~650 to ~250 lines by removing dead code, unused fast paths, and duplicated branches.dismissKeyboardhelper and its callers, thewithRetryDelayhelper, and Unity-specific modal workarounds.waitForPushIdand IAM context helpers, simplifiedisVisibleInViewport,checkInAppMessage, scroll helpers, and IAM trigger tap.SdkTypefrom a const array; hardcoded the package ID constant; always await webview visibility.Fixes
bundleIdin the iOSappPackageNamelookup.Tooling and docs
appium/scripts/run-all.shandrun-local.shupdates to support the new SDK and a new--quiet/-qflag to suppress INFO logs.demo/build.mdclarifications to the build guide structure, test IDs, and input field docs.Affected code
appium/)demo/build.md)Testing
02_push.spec.tsstill passes with the newwaitForPushIdhelper.Checklist
Made with Cursor