-
Notifications
You must be signed in to change notification settings - Fork 917
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
Xcode 14 "Failed to select from Picker" #1266
Comments
Thanks for flagging, I'll take a look soon |
Confirmed that this seems to not work on iOS 16. Created a new workflow to run on it and it failed all of the pickers. Let's hope pickers aren't out of process now (like system alerts). I doubt it but let me double check that |
Thanks for taking a look. I'm not sure if this is related, but I'm also seeing another element (keyboard return button) that KIF can't seem to find:
I confirmed that the accessibility identifier is there and hasn't changed its name. |
Yeah that was reported here: #1267 Going to look into both of these today. hopefully🤞 it's an easy fix :) |
Just want to circle back that this is not such as easy fix unfortunately. We will need to figure out how to access this because the picker view is now (with iOS 16) not within the application so we can't access it with our current infrastructure We will need to figure out another way around this, likely trying to reverse engineer XCUI to see if we can mimic that. This will take a little while, sorry for the delay |
I assume Date Pickers also do not work in KIF? Calling KIF's "selectDatePickerValue" method apparently does nothing for me and I see no long messages in the console output. Date Pickers are also outside of the app's sandbox now? |
After upgrading to Xcode 14, UI tests that were using:
tester.selectPickerViewRow(withTitle: "Title", inComponent: 0)
are no longer working. I get the error message "Failed to select from Picker". When stepping through the KIF source code, the picker appears to be
nil
as if it can't find one on screen even though I see it when the tests are running.I'm wondering if this is a bug or if there is another way we should be selecting from a picker with Xcode 14.
The text was updated successfully, but these errors were encountered: