Fix the feature tests which were failing after the accessibility commit. 

The reason being, the span elements which was used to show properties tab
data are changed to input now as per accessibility requirements.
This commit is contained in:
Aditya Toshniwal
2019-12-04 18:02:53 +05:30
committed by Akshay Joshi
parent 5093e6db5e
commit b9c7a9e887
2 changed files with 1 additions and 17 deletions

View File

@@ -977,7 +977,7 @@ class PgadminPage:
def element_if_it_exists(driver):
try:
element = find_method_with_args(driver)
if element.is_displayed() and element.is_enabled():
if element.is_displayed():
return True
except (NoSuchElementException, StaleElementReferenceException):
return False