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
fix(ios): type characters individually to prevent dropped keystrokes
The default WDA `/wda/keys` path pushes the whole string in a single
request, so XCUITest fires keystrokes back-to-back with ~30-50ms gaps.
If the input's onChange handler blocks for longer than that gap (RN
re-render, predictive bar, autocorrect), every keystroke that lands
inside the blocking window is dropped, producing contiguous gaps such
as "Al is amazing" arriving as "Al mazing".
Send characters one at a time with an inter-key delay so the gap
exceeds the typical app reaction window. The new `keyboardTypeDelay`
option on `IOSDeviceInputOpt` defaults to 80ms and can be set to 0 to
restore the legacy one-shot behavior.
0 commit comments