How do I interact with GMSMapViews bundled with my test app in UI Tests?

I want to interact with my testable app's

GMSMapview
to write some UI Tests. But since its a third party SDK bundled with my testable app. I am unsure and unaware where and how to start.

Replies

I discovered the answer for the question posted above. Include below line of codes from where you initialize the mapView.


mapView.accessibilityElementsHidden = false

mapView.accessibilityIdentifier = "GMSMapView"

Thanks for the feedback.


Don't forget to close the thread by marking your correct answer.