You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @arcln, interesting case. I believe it's the default behaviour of the Simulator app. It's possible that the iOS keyboard is not available because the Simulator app runs without user interface (headless mode).
Making sure hardware keyboard is disconnected before exiting Simulator.app
If I understand this correctly, you tried to uncheck the "Connect Hardware Keyboard" option, right?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
What happened?
The iOS keyboard does not show when running with
--headless
. Same tests without--headless
shows the keyboard.The text input is actually focused, and typing into it works, but the keyboard is hidden, just like when using CMD-K in Simulator.app.
I took a screenshot to verify this. I run the tests on my computer (mac m1 monterey).
What I've tried without success :
~/Library/Preferences/com.apple.iphonesimulator.plist
(doesn't do anything)What was the expected behaviour?
I expected the keyboard to show up when using
typeText
in--headless
mode on iOS.Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Type text into a text input on iOS, run with
--headless
, take a screenshot, notice the keyboard is not there.In what environment did this happen?
Detox version: 20.5.0
React Native version: 0.71.4
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: v16.13.0
Device model: mac m1 monterey / iphone 14 pro max simulator
iOS version: 16.2
macOS version: 12.6
Xcode version: 14.2
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: