Skip to content
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

Enable UI Testing #6

Open
MattLewin opened this issue Sep 26, 2018 · 0 comments
Open

Enable UI Testing #6

MattLewin opened this issue Sep 26, 2018 · 0 comments

Comments

@MattLewin
Copy link
Owner

Is your feature request related to a problem? Please describe.
NumericPicker cannot currently be tested using XCUI* because the accessibility labels and functionality doesn't work with the Accessibility Inspector. This has the follow-on effect of making it difficult to test the UI of any views that incorporate the control.

I've been trying since Xcode 8 (or maybe Xcode 7), to make this work, but I cannot manage to mimic the functionality that the vanilla UIPickerView implements. At various points, I've decided it is impossible, but that hasn't stopped me from spending many hours trying to make it work.

Describe the solution you'd like
I'd like NumericPicker to behave like any other control with respect to UI automation.

Describe alternatives you've considered
It is very easy to set the value of the picker, so it should be easy to simply set its value, and then test the remainder of the UI in which it is embedded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant