Using iOS XCUITest, when I attempt to locate any element on our apps homeview, which contains a list / feed the findElement call can take in excess of 5 minutes per call. As a coupe of elements are being located on this view in various tests it can take hours to complete all. I have tried both accessibility id and xpath but the difference in time is negligible. If we disable loading the list / feed contents in xcode and rebuild, the time is quick.
Using the appium GUI we get the element tree view and can see that 100+ items are in the list view, however we have not scrolled down the list to load or populate these row elements. Is there any reason why appium with iOS would be showing these in the tree view, and not just the elements that have been loaded and are in view?