mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-24 06:15:16 +02:00
Add time sleep in PAN8.py
This commit is contained in:
parent
00752bd406
commit
df0732616e
@ -46,17 +46,23 @@ class PAN8(PandoraWebDriverTestCase):
|
|||||||
|
|
||||||
search_agent(driver,"PAN_8")
|
search_agent(driver,"PAN_8")
|
||||||
|
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
#The user should be able to see the module with Tag
|
#The user should be able to see the module with Tag
|
||||||
self.assertEqual("With tag" in driver.page_source,True)
|
self.assertEqual("With tag" in driver.page_source,True)
|
||||||
except AssertionError as e:
|
except AssertionError as e:
|
||||||
self.verificationErrors.append(str(e))
|
self.verificationErrors.append(str(e))
|
||||||
|
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
#The user should NOT be able to see the module without tag
|
#The user should NOT be able to see the module without tag
|
||||||
self.assertEqual("Without tag" in driver.page_source,False)
|
self.assertEqual("Without tag" in driver.page_source,False)
|
||||||
except AssertionError as e:
|
except AssertionError as e:
|
||||||
self.verificationErrors.append(str(e))
|
self.verificationErrors.append(str(e))
|
||||||
|
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user