Hi community,
my existing ui-tests did test push-notification interactions. Since upgrading to Xcode 13 those tests fail when tapping a by the generic tap via
XCUIApplication(bundleIdentifier: "com.apple.springboard").otherElements["Notification"].firstMatch.tap()
this is the error I get
*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil (NSInvalidArgumentException)
actually the push notification is visible and can be queried in the debug console. just tapping it, crashes the test.
I`m testing this with a real device (iPhone X, iOS 15).
Testing on a iOS 14 device still works.
Did anyone else face this problem or solve it?
Thanks you