how test system alert in xcode ui test, example when accessing itunes app.
you need first use ui interruption handler, described here.
  adduiinterruptionmonitorwithdescription("sign in") { (alert) -> bool in     alert.buttons["cancel"].tap()     return true   }   app.otherelements["  upgrade"].tap()   app.tap() 
Comments
Post a Comment