Commit 64234c3a by Ben Patterson

Support multiprocess testing.

This fixes a flaky condition that is only exposed when
tests are run in multiprocessing mode.
parent 24d72883
......@@ -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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment