Replies: 1 comment
-
hello, did you ever found how to do it? Im stuck with the same problem, I cannot perform a real E2E testing simulating the user interaction. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to use detox to test a screen which contains an react-native-date-picker as modal.
The problem is that no testID, accessibilyLabel or something is provided in the modal version.
I tried it with the inline picker and was able to swipe the picker but i can not get the picker in the modal.
I tried to analyze the structure with xCode hierarchical debug, but doesn't matter if i try to select by type "DatePicker", _UIDatePickerView or i even tried to select by "UIPickerColumnView", i can not make the scroll work.
In the repo there is just a example how to test if the picker is visible, not to change the date.
Is there a way how to archive this?
Beta Was this translation helpful? Give feedback.
All reactions