Xcode 11 UI Tests in iPhone simulator for iOS 10.3.1 trigger Auto-Correct too early

Number:rdar://37950418 Date Originated:2-27-18
Status:Open Resolved:
Product:XCUITest Product Version:Xcode 9.2, iPhone 7 Plus simulator running iOS 10.3.1
Classification:UI/Usability Reproducible:Always
When running XCUITests in Xcode 11, the typeText: method triggers Auto-Correct too early, producing wrong output in fields. Issue does not occur in simulators running iOS 11, or if Auto-Correct is switched off in the simulator.

Steps to Reproduce:
Create an XCUITest test case that uses the typeText: method.

Expected Results:
Correct strings

Actual Results:
Incorrect strings, caused by Auto-Correct triggering too early

Xcode 9.2, iPhone 7 Plus simulator running iOS 10.3.1

Xcode 9.2, iPhone 7 Plus simulator running iOS 10.3.1, Auto-Correct on


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!