-
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 the date from 'UIPickerView' #778
Comments
Try to use the layout inspector and see the actual string rendered in the UI, is it exactly |
@rotemmiz Thank you for responding to my query. I used iOS inspector to find the exact format of the value, i see it is "Thu, Jun 14"
` Error: Error: An action failed. Please refer to the error trace below. Error Trace: [ |
facing with the same issue, any look around? |
Try "Jun 14" or "14 Jun", coming from native XCUITest, that's actual values (depending on locale) that are under the hood and can be selected. I'm currently just looking into Detox so not sure whether it works with it, but I would suspect that it does. |
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
Unable to select the date from the date picker. I am able to select the time and AM/PM
Steps to Reproduce
Its not working for the below case
element(by.type('UIPickerView')).setColumnToValue(0, Fri Jun 8');
Its working for the below
element(by.type('UIPickerView')).setColumnToValue(1, '11');
element(by.type('UIPickerView')).setColumnToValue(2, '22');
element(by.type('UIPickerView')).setColumnToValue(3, 'AM');
Can some one help me on this?
Detox, Node, Device, Xcode and macOS Versions
The text was updated successfully, but these errors were encountered: