The app is launched and the inspector gets stuck on the loading screen of the splash page for the app, but the app splash screen loads fine.
Appium server: 1.22.0
Appium Inspector (Desktop): 2021.12.2 (also tried the web version with same issue)
platform: ios/iPhone 13/iOs 15.0 (have tried other version with same issues)
This is a react-native app and the app is fully functional without appium
The app is launches successfully on the device and is usable; however the appium inspector doesn’t move on beyond the loading icon to display the elements found the main page (which would be the login/create account buttons)
No luck - seems like its not recognizing that … Look at the bottom on log snippet i attached - it says “The following capabilities were provided, but are not recognized by Appium” …
Can you click the refresh button? It looks like the xml has loaded. The inspector won’t follow the activity on the phone, so sometimes you need to refresh.
Hopefully this can at least point a path forward. I’m wondering if there are any simple changes that the developers would not mind adding to make it a bit more automation friendly.
Full disclosure: I don’t work on React Native apps. Just trying to help.
Thanks for info and the guidance - anything helps at this point. I’m able to use the same inspector for other apps, so it not my environment. I have been working with Appium since beta days and have not encountered any issue similar to this.
I’m starting to think it might be more related to react-native and the heavy nesting it creates - similar to this issue that has no resolution yet … https://github.com/appium/appium/issues/14825
Not sure where to turn at this point … any guidance is welcomed.
Tagging @jlipps as last resort to see if he has encountered anything like this before or has a strategy in mind.
It looks like XCTest is unable to fetch the app accessibility tree. You may try to fetch the device logs to see more details there. Last time I saw a similar error where the cause was in an endless loop in the app code responsible for UI refresh. Check your app with Xcode instrumentation to make sure it is idling on this particular view.
Any update on possible causes?
I’m seeing a similar issue today, why would it just keep on looping trying to open the app what looks like 20 times? What is the use case or way to change the retry behavior to not do this? I am using a Real device (iPad). Granted it times out after 5 minutes, but would like to know what resolved it?