Repair assert in PAN4
This commit is contained in:
parent
7fcd8317e7
commit
66c6870e01
|
@ -54,9 +54,11 @@ class PAN4(PandoraWebDriverTestCase):
|
|||
driver.find_element_by_id('text-search').clear()
|
||||
driver.find_element_by_id('text-search').send_keys("PAN_4_Servers")
|
||||
driver.find_element_by_id('submit-search_submit').click()
|
||||
|
||||
time.sleep(6)
|
||||
|
||||
try:
|
||||
element = driver.find_element_by_xpath('//a[contains(.,"No data found.")]')
|
||||
element = driver.find_element_by_xpath('//td[contains(.,"No data found.")]')
|
||||
self.assertIsInstance(element,WebElement)
|
||||
|
||||
except AssertionError as e:
|
||||
|
|
Loading…
Reference in New Issue