XCUITest crashes in -[XCElementSnapshot(Hitpoint) hitPoint:] with EXC_BAD_ACCESS

Originator:pohilets
Number:rdar://39348762 Date Originated:11 Apr 2018
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.3 (9E145)
Classification: Reproducible:Always
 
Summary:
Calling -[XCUIElement tap] crashes test runner

Steps to Reproduce:
Executed UI tests from attached demo project either from Xcode or from the command line.

Expected Results:
Tapping works, test runner does not crash

Actual Results:
Test runner crashes, the button is not tapped

Version/Build:
 Xcode 9.3 (9E145) and Xcode 9.4 (9Q1004a)

Configuration:
macOS 10.13.4 (17E199)
iOS Simulator, iPhone 6
iOS 11.3 - OK
iOS 11.2 - Crashes
iOS 11.1 - Crashes
iOS 11.0.1 - Crashes
iOS 10.3.1 - OK
iOS 10.2 - OK
iOS 10.0 - OK
iOS 9.3 - OK
iOS 9.0 - Fails to start

Comments


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!