From 117a36216e5261704d13911e3ecac12e20f609b1 Mon Sep 17 00:00:00 2001
From: Axel <axl89@users.noreply.github.com>
Date: Thu, 14 Jul 2016 12:10:29 +0200
Subject: [PATCH] Update PAN8.py

---
 tests/console/PAN8.py | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/tests/console/PAN8.py b/tests/console/PAN8.py
index 45be65e937..1d9dbdeef5 100644
--- a/tests/console/PAN8.py
+++ b/tests/console/PAN8.py
@@ -45,24 +45,23 @@ class PAN8(PandoraWebDriverTestCase):
 		detect_and_pass_all_wizards(driver)
 		
 		search_agent(driver,"PAN_8")
-	
-		time.sleep(3)
+
+		time.sleep(6)
 
 		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))
 		
-		time.sleep(3)
-		
 		try:
 			#The user should NOT be able to see the module without tag
 			self.assertEqual("Without tag" in driver.page_source,False)
 		except AssertionError as e:
 			self.verificationErrors.append(str(e))
 		
-		time.sleep(3)
-		
+
 if __name__ == "__main__":
 	unittest.main()