What Are Some Best Practices When Asserting iOS Elements Are Displayed?
问题 I'm trying to write my first UI Automation test for an iOS app with Appium/Python. I find that when I list 10 assertions like the one below, I get very inconsistent results ... sometimes it passes, but it usually fails the third assertion, sometimes it fails the eighth. assert driver.find_element_by_name('Settings').is_displayed() I've also tried to use waits: driver.wait_for_element_by_name_to_display('Settings') assert driver.find_element_by_name('Settings').is_displayed() Does anyone know