summaryrefslogtreecommitdiff
path: root/openstack_dashboard/test/integration_tests/basewebobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/test/integration_tests/basewebobject.py')
-rw-r--r--openstack_dashboard/test/integration_tests/basewebobject.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/openstack_dashboard/test/integration_tests/basewebobject.py b/openstack_dashboard/test/integration_tests/basewebobject.py
index aae87e910..f4207b0ce 100644
--- a/openstack_dashboard/test/integration_tests/basewebobject.py
+++ b/openstack_dashboard/test/integration_tests/basewebobject.py
@@ -152,6 +152,13 @@ class BaseWebObject(unittest.TestCase):
# it will raise the NoSuchElementException exception.
pass
+ def wait_until_element_is_visible(self, locator):
+ with self.waits_disabled():
+ try:
+ self._wait_till_element_visible(locator)
+ except Exceptions.NoSuchElementException:
+ pass
+
def wait_till_spinner_disappears(self):
def getter():
return self.driver.find_element(*self._spinner_locator)