UI Interruption Monitor Cannot Interact with System Dialog
| Originator: | joseph.masilotti | ||
| Number: | rdar://22877813 | Date Originated: | 28-Sep-2015 08:56 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.0 and Xcode 7.1 Beta 2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: My app asks the user for permission to user their location. When testing this with UI Testing I am attempting to use a UI interruption monitor. However, the handler never gets fired, thus the dialog cannot be interacted with. Steps to Reproduce: 1. Add button to trigger location permission dialog 2. Add UI Test with UI interruption handler 3. Trigger dialog by tapping button 4. See location permission dialog appear Expected Results: The UI interruption handler is called and the alert can be interacted with. Actual Results: The UI interruption handle is never called. Version: Xcode 7.0 and Xcode 7.1 Beta 2 Notes: Please see the attached project for a reproducible example. Also note that the simulator will need to be reset if the dialog is ever dismissed. Configuration: Attachments: 'UI-Testing-Cheat-Sheet.zip' was successfully uploaded.
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!