Fixed PAN8 failing sometimes in the assert

This commit is contained in:
axl89 2016-07-14 11:21:38 +02:00
parent 01fc8df594
commit 15e4f6bb27
1 changed files with 3 additions and 1 deletions

View File

@ -45,10 +45,12 @@ class PAN8(PandoraWebDriverTestCase):
detect_and_pass_all_wizards(driver)
search_agent(driver,"PAN_8")
try:
#The user should be able to see the module with Tag
module = driver.find_element_by_xpath('//td[contains(.,"With tag")]')
self.assertEqual("With tag" in driver.page_source,True)
except AssertionError as e:
self.verificationErrors.append(str(e))