summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-01-11 11:28:03 -0500
committerTim Graham <timograham@gmail.com>2016-01-11 14:16:17 -0500
commit294d0d88158fa83eb095d663d054038ce9dfc3d4 (patch)
tree76828053c98771353e6c3e300eca39cec1d3aa9f /tests/admin_views
parentbc7d201bdbaeac14a49f51a9ef292d6312b4c45e (diff)
Fixed #26048 -- Made admin selenium tests use implicitly_wait()
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 6e278c8ae0..cb72c20975 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -4430,8 +4430,7 @@ class SeleniumAdminViewsFirefoxTests(AdminSeleniumWebDriverTestCase):
self.admin_login(username='super', password='secret', login_url=reverse('admin:index'))
self.selenium.get(full_url)
self.selenium.find_element_by_class_name('deletelink').click()
- # Wait until we're on the delete page.
- self.wait_for('.cancel-link')
+ # Click 'cancel' on the delete page.
self.selenium.find_element_by_class_name('cancel-link').click()
# Wait until we're back on the change page.
self.wait_for_text('#content h1', 'Change pizza')
@@ -4452,8 +4451,7 @@ class SeleniumAdminViewsFirefoxTests(AdminSeleniumWebDriverTestCase):
self.admin_login(username='super', password='secret', login_url=reverse('admin:index'))
self.selenium.get(full_url)
self.selenium.find_element_by_class_name('deletelink').click()
- # Wait until we're on the delete page.
- self.wait_for('.cancel-link')
+ # Click 'cancel' on the delete page.
self.selenium.find_element_by_class_name('cancel-link').click()
# Wait until we're back on the change page.
self.wait_for_text('#content h1', 'Change pizza')