Skip to content

fix(android): expose tab test IDs to UIAutomator#551

Draft
thiagobrez wants to merge 1 commit into
mainfrom
codex/android-maestro-testid-550
Draft

fix(android): expose tab test IDs to UIAutomator#551
thiagobrez wants to merge 1 commit into
mainfrom
codex/android-maestro-testid-550

Conversation

@thiagobrez

Copy link
Copy Markdown
Collaborator

Summary

  • Exposes Android tab button test IDs through AccessibilityNodeInfoCompat.viewIdResourceName so UIAutomator-based tools like Maestro can find them as resource IDs.
  • Keeps the existing tab content container tag behavior and clears stale test ID state when a reused tab item no longer has one.
  • Adds a patch changeset for react-native-bottom-tabs.

Fixes #550

Testing

  • yarn workspace react-native-bottom-tabs typecheck
  • ./gradlew --no-daemon --console=plain :ReactNativeBottomTabs:build from apps/example/android

Notes

  • Package lint was not run successfully: yarn workspace react-native-bottom-tabs lint fails to start in this workspace because eslint is not provided to the package under Yarn PnP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android - Unable to Find Test ID via Maestro E2E Tests

1 participant