Dismissing a system alert with UI Testing raises an exception
Originator: | joseph.masilotti | ||
Number: | rdar://22498241 | Date Originated: | 31-Aug-2015 07:34 AM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode 7 Beta 6 |
Classification: | Serious Issue | Reproducible: | Always |
Summary: Attempting to dismiss a location services authorization alert will crash UI Testing. Steps to Reproduce: 1. Trigger the location services authorization dialog under UI Testing 2. Dismiss the alert with: app.alerts.collectionViews.buttons["Allow"].tap() Expected Results: The alert dismisses authorizing location services and the test continues to run. Actual Results: The alert dismisses authorizing location services but the test raises the following exception: UI Testing Failure - No matches found for Alert Version: Xcode 7 Beta 6
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!