iOS16 press on keyboard doesn't work
azilbershtein opened this issue · 5 comments
Can't press on the native keyboard on iOS16 devices, using both accessibility id and label.
Did anyone experienced that issue as well?
@azilbershtein can you give a little context on how you are trying to press the native keyboard and if it's the standard keyboard or something more customized
@dostrander Native keyboard, I've tried both ".tapView(withAccessibilityLabel: "search") and .tapView(withAccessibilityIdentifier: "Search")
Failed with "Failure in child step: The step timed out after 30.00 seconds: Failed to find accessibility element with the label "search" (KIFFailureException)"
Works perfectly with iOS15.5
@azilbershtein Hmmm i'll check this out, since you are seeing this in the view debugger it seems like it's inside of the process still which is good. We may be doing something in KIF to somehow skip finding this. Let me look into it
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 keyboard 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
We're also encountering this error. I tried to update our tests to run on an iOS 16 simulator but a number of our tests interacting with the keyboard (like the search
button) failed. We'd previously been using iOS 15.5 simulators - so I'll stick with those in the meantime.