mozilla/Addon-Tests — pull request #529 by bobsilverberg (2012-07-19 03:29:46+00:00)
Title: Added an explicit wait to address intermittent error shown at http://pastie.org/4279628

Looking at the code, this wait really doesn't seem necessary, but the failure referenced above shows that there is some sort of problem with a wait in this situation. I originally tried adding it into the __init__ method of the page object, but that caused problems with the test at https://github.com/mozilla/Addon-Tests/blob/master/tests/desktop/test_details_page_against_xml.py#L182 because it instantiates the page object without navigating to a page first, causing the wait to timeout.