Hello,
I am writing in regards to asking for advice about the situation I faced recently.
My team is testing a mobile application, written in React Native. Also, the testing is done on real devices, not emulators.
Until 6th of April all released builds were successfully tested by Appium.
However, for some reason the released builds after this date, seems to be not testable for iOS 16.# versions.
When we try to execute any of the previously passed tests, the Appium driver just keeps looking for the given element selector without recognizing it.
However, when we try to execute the same test against a lower iOS version - 15.0 or 14.0 - the test passes with no problem. The selectors were found and Appium could interact with it.
Also, the same test passed for older versions of the IPA builds.
I have tried to use any possible selector strategy - accessibility ID, full xpath of an element, partial xpath with some of the element attributes. None of them were recognized by the automation driver.
I also asked the dev team whether they have made some kind of update recently - Xcode version update, accessibility framework update. etc. They haven’t changed anything.
I also tried to update the Appium version from 1.22.0 to 1.22.3, but it didn’t help.
I found some similar issues in the Appium forum, but there weren’t any clear solutions for them.
I could not understand why Appium could not find and interact with a selector which hasn’t changed for months.
The Appium capabilities:
{
“appium:deviceName”: “iPhone_X”,
“platformName”: “iOS”,
“appium:platformVersion”: “16.0”,
“appium:app”: “*******.ipa”,
“appium:automationName”: “XCUITest”,
“appium:appiumVersion”: “1.22.0”,
“appium:settings[snapshotMaxDepth]”: “62”
}
NodeJS versio: 16.5.1
I would appreciate any advice how to debug further!