According the 1.6.x release notes the autoAcceptAlerts doesn’t work (see below quote).
Any idea how it can be handle on iOS vs. the XCUITest api?
The capabilities autoAcceptAlerts and autoDismissAlerts do not currently work, and there is continued debate about whether we will be able to implement them in the future.