Commit d1f1aa6b by Jim Abramson

Merge pull request #304 from edx/jsa/wait-longer-for-alert

wait longer for alert modal in acceptance test
parents cec45450 fbc3e103
......@@ -77,7 +77,7 @@ class OrderListViewTests(OrderViewTestsMixin, RefundTestMixin, LiveServerTestCas
button.click()
# Wait for the AJAX call to finish and display an alert
WebDriverWait(self.selenium, 0.1).until(lambda d: d.find_element_by_css_selector('#messages .alert'))
WebDriverWait(self.selenium, 0.5).until(lambda d: d.find_element_by_css_selector('#messages .alert'))
def assertAlertDisplayed(self, alert_class, text):
""" 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