javascript - Dismissing UIAlert window through Instruments script run through CLI -
when running instruments test suite through instruments cli, i'm unable programatically dismiss uialert window on device asks push notification permissions app in test. on first run of app. since permissions alert blocks test script running @ all, defined alert handler not called.
running suite through instruments ui app calls default alert handler, taps default button dismiss alert.
how can dismiss alert programatically, if script blocked? there way preset permission, alert not displayed?
edit: alert in ios 9; not pop in ios 8
Comments
Post a Comment