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
{{ message }}
Repository navigation
Commit cc3b99b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): bound the idle wait of keyboard dismiss and keyboard enter (#4454)
* fix(ios): bound the idle wait of keyboard dismiss and keyboard enter
`keyboard dismiss` and `keyboard enter` tapped the keyboard's control with a
plain XCUIElement.tap() outside withBoundedInteractionIdleTimeoutIfSupported,
which `type`, `swipe` and taps already use. XCTest then waited for the app to
idle with its own timeout. An app that keeps animating (Safari right after an
iPhone Duo unfold) held the runner main thread past its 30 s watchdog: the
command failed with "main thread execution timed out" and the next commands
were refused until XCTest gave up.
Both commands now run inside the bounded wait with both quiescence waits
skipped. dismissKeyboard still waits for the keyboard to go and the screen to
settle on its own.
The host app's --agent-device-keyboard-busy fixture keeps a UIView animation
in flight while its field has focus, until a backstop, and records whether its
Done accessory and its return key landed while the app was still busy.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(ios): require busy keyboard coverage and settle Return
* docs(ios): restore Simulator keyboard preference after tests
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
0 commit comments