Hi,
In my UI tests, I handle some system alerts and app deletion for some tests by instantiating the springboard app. I have Xcode 13.2.1 with both iOS 14.1 and iOS 15.2 simulators. The code works perfectly for iOS 14.1 simulators but is not working for iOS 15.2 simulators. What should I do for the code to work on iOS simulators.
I am not using alert monitors , because alert monitors doesn't seem to work at all nowadays.
The code I use to tap on the keychain alert,
let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
springboard.alerts.buttons["Save Password"].tap()