From aaf4bff1170ba33a2211e31f3896de8beae2fc1b Mon Sep 17 00:00:00 2001 From: axl89 Date: Mon, 4 Jul 2016 18:35:13 +0200 Subject: [PATCH] Added 10s delay to check events --- tests/console/PAN5.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/console/PAN5.py b/tests/console/PAN5.py index ac919a6acd..6f3d964b3d 100644 --- a/tests/console/PAN5.py +++ b/tests/console/PAN5.py @@ -6,7 +6,7 @@ from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import StaleElementReferenceException, NoSuchElementException -import unittest, time, re, pdb +import unittest, time, re class PAN5(PandoraWebDriverTestCase): @@ -52,6 +52,7 @@ class PAN5(PandoraWebDriverTestCase): driver.find_element_by_css_selector("b").click() driver.find_element_by_xpath('//ul[@class="mn"]/li/a/img[@data-title="Alerts"]').click() driver.find_element_by_xpath('//tr[@id="table2-0"]/td/a/img[@data-title="Force"]').click() + time.sleep(10) #Search events of our agent click_menu_element(driver,"View events")