summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-02-17 16:34:29 -0200
committerTulio Casagrande <tcasagra@thoughtworks.com>2017-02-17 16:34:29 -0200
commite560075b89668e4d8c12a89424ff5d7fab638475 (patch)
tree48fc308a0c4472ab347eec67844ee86d11945679 /service/test
parent200ba568e4c975cc5276676b2406170aa85dcad1 (diff)
[#907] Change functional tests to check for visibility
Diffstat (limited to 'service/test')
-rw-r--r--service/test/functional/features/steps/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py
index edfe2a50..3e1e995e 100644
--- a/service/test/functional/features/steps/common.py
+++ b/service/test/functional/features/steps/common.py
@@ -61,7 +61,7 @@ def _wait_until_elements_are_visible_by_locator(context, locator_tuple, timeout=
def _wait_until_element_is_visible_by_locator(context, locator_tuple, timeout=TIMEOUT_IN_S):
wait = WebDriverWait(context.browser, timeout)
- wait.until(EC.presence_of_element_located(locator_tuple))
+ wait.until(EC.visibility_of_element_located(locator_tuple))
return context.browser.find_element(locator_tuple[0], locator_tuple[1])