Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding TouchableOpacity to MapMarker.e2e to allow detox .tap() over m… #15

Closed
wants to merge 7 commits into from

Conversation

fabOnReact
Copy link

@fabOnReact fabOnReact commented Nov 4, 2020

Description

Quick solution to tap on a specific MapMarker based on their testID with Detox, still work in progress

What issue is this PR fixing?

https://github.com/urbi-mobility/urbi-react-native/pull/242 allow to tap MapMarker with Detox

Related react-native-maps#2253 react-native-maps#2252 and react-native-maps#2253 (comment)

How did you test this PR?

Work in progress, the below GIF show how the TouchableOpacity trigger the Marker selection, adding testID to the touchable opacity will allow Detox to trigger tap() the marker, additionally we need to disable MapView onPress event in MapView.e2e.

@fabOnReact fabOnReact closed this Nov 11, 2020
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.

1 participant