diff --git a/Tests/Regression/Reporter/GUI_Bugs.robot b/Tests/Regression/Reporter/GUI_Bugs.robot index 93dbf4013..6f4a8c514 100644 --- a/Tests/Regression/Reporter/GUI_Bugs.robot +++ b/Tests/Regression/Reporter/GUI_Bugs.robot @@ -271,7 +271,9 @@ Template with Start and End Dates # ${html}= Parse XML ${resultfolder0}${/}${resultdata0}.html # import lxml.etree # tree = lxml.etree.parse("/home/dave/Downloads/Reporter-windows-latest-3.11/Issue-#250/20240626_130059_jpetstore-nomon-quick/20240626_130059_jpetstore-nomon-quick.html", lxml.etree.HTMLParser()) - ${html}= Evaluate lxml.etree.parse("${resultfolder1}${/}${resultdata1}.html", lxml.etree.HTMLParser()) modules=lxml.etree + # ${html}= Evaluate lxml.etree.parse("${resultfolder0}${/}${resultdata0}.html", lxml.etree.HTMLParser()) modules=lxml.etree + ${rawhtml}= Get File ${resultfolder0}${/}${resultdata0}.html + ${html}= Evaluate lxml.etree.fromstring(${rawhtml}, lxml.etree.HTMLParser()) modules=lxml.etree ${sectionid}= Get Element Attribute ${html} id .//h1[text()='2 Test Result Summary']/.. ${table}= Get Element ${html} .//div[@id='${sectionid}']//table ${expected}= Get Elements Texts ${table} tr/td[1] @@ -288,7 +290,9 @@ Template with Start and End Dates Copy Files ${resultfolder1}/*.html ${testresultfolder1} # ${html}= Parse XML ${resultfolder1}${/}${resultdata1}.html - ${html}= Evaluate lxml.etree.parse("${resultfolder1}${/}${resultdata1}.html", lxml.etree.HTMLParser()) modules=lxml.etree + # ${html}= Evaluate lxml.etree.parse("${resultfolder1}${/}${resultdata1}.html", lxml.etree.HTMLParser()) modules=lxml.etree + ${rawhtml}= Get File ${resultfolder1}${/}${resultdata1}.html + ${html}= Evaluate lxml.etree.fromstring(${rawhtml}, lxml.etree.HTMLParser()) modules=lxml.etree ${sectionid}= Get Element Attribute ${html} id .//h1[text()='2 Test Result Summary']/.. ${table}= Get Element ${html} .//div[@id='${sectionid}']//table FOR ${index} ${item} IN ENUMERATE @{expected}