Commit 916a5f23 by Clinton Blackburn

Merge pull request #313 from edx/ajax-test-timeout-fix

Waiting even longer for retry fulfillment test
parents 3ce4d09e 1045c5d0
...@@ -77,7 +77,7 @@ class OrderListViewTests(OrderViewTestsMixin, RefundTestMixin, LiveServerTestCas ...@@ -77,7 +77,7 @@ class OrderListViewTests(OrderViewTestsMixin, RefundTestMixin, LiveServerTestCas
button.click() button.click()
# Wait for the AJAX call to finish and display an alert # Wait for the AJAX call to finish and display an alert
WebDriverWait(self.selenium, 0.5).until(lambda d: d.find_element_by_css_selector('#messages .alert')) WebDriverWait(self.selenium, 1.0).until(lambda d: d.find_element_by_css_selector('#messages .alert'))
def assertAlertDisplayed(self, alert_class, text): def assertAlertDisplayed(self, alert_class, text):
""" Verifies that the most recent alert has the given class and message. """ """ Verifies that the most recent alert has the given class and message. """
......
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