Xcode UI Testing allow system alerts series
问题 I have problem, if i try allow series system alert, work only one time, and next alert not "allowing" I googling more time, and know about that post: (Xcode 7 UI Testing: how to dismiss a series of system alerts in code) Nothing.. not work. Here my current code, first alert "allowed" successfully, next alert not detected.. XCUIApplication *app = [[XCUIApplication alloc] init]; app.launchEnvironment = @{ @"isUITest" : @YES, @"withFakeData" : fakeData }; [app launch]; for (int i = 1; i <= self