Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for TestPagination.test_search_pagination

Added and explicit wait.
  • Loading branch information...
commit 42f8dcbbf535df834f3be08b431f2bbf949a5fd9 1 parent d902db3
@teodosia teodosia authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  pages/base.py
View
2  pages/base.py
@@ -8,6 +8,7 @@
from urlparse import urlparse
from selenium.webdriver.common.by import By
+from selenium.webdriver.support.ui import WebDriverWait
from page import Page
@@ -30,6 +31,7 @@ def footer(self):
def click_older_messages(self):
"""Navigates to the previous page of older messages."""
self.selenium.find_element(*self._older_messages_link_locator).click()
+ WebDriverWait(self.selenium, 10).until(lambda s: self.header.is_feedback_link_visible)
def click_newer_messages(self):
"""Navigates to the next page of newer messages."""
Please sign in to comment.
Something went wrong with that request. Please try again.