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

iOS16 press on keyboard doesn't work #1267

Open
azilbershtein opened this issue Sep 18, 2022 · 5 comments
Open

iOS16 press on keyboard doesn't work #1267

azilbershtein opened this issue Sep 18, 2022 · 5 comments

Comments

@azilbershtein
Copy link

Can't press on the native keyboard on iOS16 devices, using both accessibility id and label.
Did anyone experienced that issue as well?

@dostrander
Copy link
Contributor

@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

@azilbershtein
Copy link
Author

@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
Screen Shot 2022-09-20 at 16 00 32
Screen Shot 2022-09-20 at 16 01 31

@dostrander
Copy link
Contributor

@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

@dostrander
Copy link
Contributor

dostrander commented Sep 27, 2022

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

@heidiproske-qz
Copy link

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.

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

3 participants