mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
committed by
Akshay Joshi
parent
5093e6db5e
commit
b9c7a9e887
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user