-
Notifications
You must be signed in to change notification settings - Fork 1.9k
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unable to select value from picker #798
Comments
Did you try to inspect the view hierarchy and see what's going on ? |
I will have a look at the view hierarchy and report back. |
TBH, I am not sure what would be helpful for debugging here. Both have a hierarchy of
|
master...matthewrfindley:failing-e2e-picker-test This is a simple test to reproduce the issue. |
It may be possible that react native doesn't pass testID to native view hierarchy on one of them, but does on the other. |
The test attempts 2 ways to find the element. |
Can you check the accessibility properties of the view you're trying to match? Let's see the value in the picker |
These are not from the test, but are built using the same react-native |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
Description
Using detox to select a value from a picker appears to be broken on IOS. Using a testID on a
Picker
or usingUIPickerView
have different results as seen below. This could be a result of any number of things going wrong in the dependency chain, but I figured the detox community may know the answer. I've added a spec to the e2e tests to isolate the issue. You can find the branch here.Steps to Reproduce
failing-e2e-picker-test
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
✗ :ios: Picker picker should trigger change handler correctly using testID
✗ :ios: Picker picker should trigger change handler correctly using type
The text was updated successfully, but these errors were encountered: