Automated Testing bypassing gatekeepeer

Hi.

I want to automate test installation and uninstallation of network extension software.

However, it looks like whenever I install the gatekeeper and another pop-up always blocker for automation.

My app is fully notarized and stapled, but it seems like it is almost impossible to bypass those two pop up.

I want something similar funcitonality of windows Test Mode.

However, it looks like whenever I install the gatekeeper and another pop-up always blocker for automation.

I am not aware of a way to automate this without controlling the prompt from your app. However, once these prompts are accepted by Gatekeeper and any Network System Extension then they should not be displayed again. So if you need to run an automated test then as a temporary solution you could do a manual test first to ensure that these two prompts are accepted before running the automated test.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

@Matt. That was my initial thought, but even for the same package, after initial installation, any reinstall attempt gives pops up anyway.

Automated Testing bypassing gatekeepeer
 
 
Q