[Android] TestID property didn't propagate to the Marker element #4684
olukash
started this conversation in
Feature requests
Replies: 4 comments 1 reply
-
Hi @olukash 👋 I'm currently looking into adding some detox e2e tests to rnm and stumbled upon the same issue. Would you be able to work on a PR? :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
HI guys, Running into the same issue here: any updates? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Workaround is to wrap your Marker into View and move your testID to the View. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, I use description as testID, it may help you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
On Android the defined testID property on a Marker gets lost. It is not visible as the accessibility (or any other) identifier. On iOS it works as expected.
Looks like, when adding testID for Marker, the Android part was missed (see PR https://github.com/react-native-maps/react-native-maps/pull/2253/files)
Reproducible sample code
Steps to reproduce
NOTE: The same steps on iOS leads to testID displaying
Expected result
testID displayed in properties
Actual result
testID absent in properties
React Native Maps Version
1.4.0
What platforms are you seeing the problem on?
Android
React Native Version
0.69.7
What version of Expo are you using?
Not using Expo
Device(s)
Samsung Galaxy S20
Additional information
No response

Beta Was this translation helpful? Give feedback.
All reactions