Merge "pytest-based tests add fix more specific css selector"

This commit is contained in:
Zuul 2024-10-18 15:56:57 +00:00 committed by Gerrit Code Review
commit 02fa4d9f1f

View File

@ -93,7 +93,8 @@ def available_elements(driver, resource_type, name):
except (exceptions.NoSuchElementException):
pass
finally:
return driver.find_elements_by_css_selector('table tr td:nth-child(2)')
return driver.find_elements_by_css_selector(
'table tr td:nth-child(2) a')
def get_table_status(driver, resource_type, name, sorting=False):