I'm trying to automate a testing flow in my app, that requires signing in with apple first. I've figure out how open settings and login with a test apple ID. I've wrapped that up in a function and call that first (with a check to see if its already logged in). When I return to my app, and tapping the sign in with apple button, I can't find anyway to interact with the sign in with apple modal, e.g. asking me if I want to share my email address or not, tapping "continue with password" and so on
I've tried setting up an interruption handler, but it doesn't get triggered
let test = addUIInterruptionMonitor(withDescription: "") { alert in
print("inside alert:\( alert )")
return true
}
I've tried checking for springboard alerts, but its not an alert
let springboardApp = XCUIApplication(bundleIdentifier: "com.apple.springboard")
springboardApp.alerts.exists
I don't know any other tricks, or how to find the bundle ID of this popup. Any advice?