Open JesseRWeigel opened 5 years ago
For e2e testing using Detox i found this solution:
<MenuOption customStyles={{ optionTouchable: { testID: 'option-open' } }} />
But not tested using React Native Web
with 0.15.10
there is new property testID
but not sure how it works in RN web.
Right now, setting a testID on a react-native-popup-menu component does not cause that to be displayed in the DOM when using React Native Web. It should pass that testID on so that it actually gets included in the DOM. This is important for running end-to-end testing.
For Example:
Expected result:
Actual Result: