XCTest UI Tests Trigger Password Prompt on macOS Sequoia – How to Disable in CI?

Hi,

we are using xctest UI tests integrated into a Jenkins CI pipeline. However, after upgrading the machine running automated tests to macOS Sequoia, we’re experiencing an issue: before each UI test, the system displays a popup asking for a password to allow XCTest to enable UI automation.

Is there any known workaround for this, please?

I’ve tried disabling SIP and modifying the TCC database, but nothing has worked so far.

Thank you in advance. I’ve attached a screenshot of the popup.

Answered by radovan255 in 849294022

resolved by: automationmodetool enable-automationmode-without-authentication

Accepted Answer

resolved by: automationmodetool enable-automationmode-without-authentication

XCTest UI Tests Trigger Password Prompt on macOS Sequoia – How to Disable in CI?
 
 
Q