SwiftMonkey Version: 2.2.0
Xcode Version: 12.5
Mac OS Version: 11.4
Occasionally, this happens. A guess is that the monkey process may be running on a separate thread and it tapped one of the alert buttons before the addXCTestTapAlertAction is called? Screenshot captured during a run shows the alert dialog fading away which makes me think this may be the case.
To be precise, I see XCTAssertNotEqual(buttons.count, 0, "No buttons in alert") being hit in MonkeyXCTest.addXCTestTapAlertAction
SwiftMonkey Version:
2.2.0
Xcode Version:12.5
Mac OS Version:11.4
Occasionally, this happens. A guess is that the monkey process may be running on a separate thread and it tapped one of the alert buttons before the
addXCTestTapAlertAction
is called? Screenshot captured during a run shows the alert dialog fading away which makes me think this may be the case.To be precise, I see
XCTAssertNotEqual(buttons.count, 0, "No buttons in alert")
being hit inMonkeyXCTest.addXCTestTapAlertAction
Any suggestions?