Support multiprocess testing.

This fixes a flaky condition that is only exposed when
tests are run in multiprocessing mode.
This commit is contained in:
Ben Patterson
2015-11-28 10:40:11 -05:00
parent 24d72883b2
commit 64234c3ae0

View File

@@ -28,7 +28,7 @@ class DiscussionThreadPage(PageObject, DiscussionPageMixin):
return self.q(css=self.thread_selector + " " + selector)
def is_browser_on_page(self):
return self.q(css=self.thread_selector).present
return self.q(css=self.thread_selector).visible
def _get_element_text(self, selector):
"""