So I'm attempting to run an XCode UI Test on my React Native project. My goal is to use fastlane/snapshot to grab screenshots of my app.
I finally figured out how to script my app to do what I want. Unfortunately, the app gets stuck with an App failed to quiesce within 60s
message after calling app.otherElements["mainButton"].tap()
.
As far as I can tell as a human, my app appears to be static and not updating or animating anything. But I'm not clear what the UI Test is using for its detection heuristic, so it might be using some internal state or checking threads.
I suspect there's some React Native behavior that's keeping the UI Test from seeing things as finished. Unfortunately, without any real ability to see what UI Tests are doing, I'm not even sure where I need to dig into React Native to fix it. :(
Any help would be appreciated!