Summary:
When there are active animations on any views within the main window hierarchy, the test framework determines that the application isn't idled. For repeating animations, this means that the test framework will hang until it hits a timeout and fail with "App failed to quiesce within 60s"
Steps to Reproduce:
Start a new single-view iOS application project in Xcode with UI Testing enabled
Add a button and an additional view to the View Controller nib in Main.storyboard and wire IBOutlets to ViewController.m (we'll call them "button" and "animatingView"
Description
Summary: When there are active animations on any views within the main window hierarchy, the test framework determines that the application isn't idled. For repeating animations, this means that the test framework will hang until it hits a timeout and fail with "App failed to quiesce within 60s"
Steps to Reproduce:
override func viewDidLoad() { super.viewDidLoad()
}
func testThatFailsDueToRepeatingAnimation() { XCUIApplication().buttons.elementBoundByIndex(0).tap() }
UI Testing Failure - App failed to quiesce within 60s
Expected Results: Repeating animations are ignored, or XCTest provides functionality to do so
Actual Results: Repeating animations cause tests to hang, and eventually fail
Version: 9.3 (13E234)
Configuration: iPhone 6S 64GB AT&T, using LTE
Product Version: 9.3 Created: 2016-04-05T21:46:45.138640 Originated: 2016-04-05T00:00:00 Open Radar Link: http://www.openradar.me/25562105