'Is there a way to test markers on MapView using DETOX in a react-native app?
I have a react native app that includes MapView component where we are rendering the markers. Using detox, I want to test the visibility of those markers and also if they can be tapped or not. I have applied the testID using the index function which will make it unique, but I am still not able to check the visibility of the markers. Is there any other way. Please help!!
Environment :
- Detox: 18.7.0
- React Native: 0.63.3
- Node: 14.16.0
- Device: Pixel_API_23x86(android) OR iPhone 11 Pro(iOS)
- OS: macOS Big Sur 11.2.3
- Test-runner: jest-circus
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|