UI tests can't tap on regular UIView
| Originator: | larcus94 | ||
| Number: | rdar://21397875 | Date Originated: | 6-16-2015 |
| Status: | Closed | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode Version 7.0 beta (7A120f) |
| Classification: | Serious bug | Reproducible: | Always |
Summary: See example app. A regular UIView exposed to UIAccessibility with userInteraction enabled can't be tapped. While this makes little sense in this example, it does make sense in actual apps that have a UITapGestureRecognizer assigned to the view. Steps to Reproduce: 1. Download example project 2. Decompress example project 3. Run UI test of example project Expected Results: The test passes. The XCUIElement should exist and should be tappable. Actual Results: The test fails. The XCUIElement exists but is not tappable. Version: Xcode Version 7.0 beta (7A120f) OSX Yosemite Version 10.10.3 (14D136) Attachments: https://github.com/larcus94/Radars/tree/master/21397875
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!