Fixed issues related to porting of dependent, dependencies, and statistics panel.

refs #7016
This commit is contained in:
Pradip Parkale
2022-02-03 11:13:39 +05:30
committed by Akshay Joshi
parent 64c419e6f8
commit 7a2716bf77
6 changed files with 84 additions and 38 deletions

View File

@@ -168,9 +168,10 @@ class CheckForXssFeatureTest(BaseFeatureTest):
try:
self.page.click_tab("Dependents")
source_code = \
self.page.find_by_xpath("//*[@id='5']/table/tbody/tr/td/"
"div/div/div[2]/table/tbody/tr/"
"td[2]").get_attribute('innerHTML')
self.page.find_by_xpath(
"//*[@id='5']/table/tbody/tr/td/div/div[1]/div/"
"div[2]/div/div/div/div[2]").get_attribute(
'innerHTML')
retry = 0
except WebDriverException as e:
print("Exception in dependent tab {0}".format(retry),