-
Notifications
You must be signed in to change notification settings - Fork 742
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
UIAlertController.StyleAlert button duplicity wrinkle #271
Comments
Hmm, I wonder if that might be an issue when considering tapping on custom UIAlertControllers that have their own views in the buttons or so. BTW, are you able to tap on the alert using |
|
It isn't documented anywhere per se, it's a part of disambiguating the matchers. Notice how in the trace,
The |
Yes, it's documented in the cheatsheet |
Just listing the method name doesn't count! :) If this is the best way to find buttons, it should be more prominent in the docs. |
@gurgeous, agreed :). We have the Selection API section in our docs to cover this. If you feel it's not clear enough when it comes to pointing to grey_text(), then feel free to add to it or provide a suggestion on how to make it more clear to users. |
I can't easily test UIAlertController.StyleAlert because each button has two accessible views with the same label:
It's easy to workaround the issue with grey_allOf, but this is a common case that should be handled by the framework in my opinion.
The text was updated successfully, but these errors were encountered: