You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are writing Xcode UI Tests for our app. Our test case requires that we tap a marker on the map, which would then launch another feature. In UI Tests, UI elements are accessed via their accessibilityIdentifier. However, we are not able to set an accessibilityIdentifier for the MapBox marker. How can we accomplish this task? Is there a way to set the accessibilityIdentifier, or is there another workaround we must do?
Expected behavior
N/A
Notes / preliminary analysis
N/A
Additional links and references
N/A
The text was updated successfully, but these errors were encountered:
@jamesormond most of the elements on the MapView are rendered with a Metal as part of the single CAMetalLayer. It is not possible to accessibilityIdentifier for such elements, unfortunately.
Environment
Observed behavior and steps to reproduce
We are writing Xcode UI Tests for our app. Our test case requires that we tap a marker on the map, which would then launch another feature. In UI Tests, UI elements are accessed via their
accessibilityIdentifier
. However, we are not able to set anaccessibilityIdentifier
for the MapBox marker. How can we accomplish this task? Is there a way to set theaccessibilityIdentifier
, or is there another workaround we must do?Expected behavior
N/A
Notes / preliminary analysis
N/A
Additional links and references
N/A
The text was updated successfully, but these errors were encountered: