Change login function in PAN1.py and in PAN3.py

This commit is contained in:
cesar991 2016-07-05 12:37:21 +02:00
parent 879d51740b
commit 668a72e1e7
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class PAN1(PandoraWebDriverTestCase):
def test_pan1(self): def test_pan1(self):
driver = self.driver driver = self.driver
login(driver,"admin","pandora",self.base_url) login(driver)
detect_and_pass_all_wizards(driver) detect_and_pass_all_wizards(driver)
click_menu_element(driver,"General Setup") click_menu_element(driver,"General Setup")
self.assertEqual("IP list with API access", driver.find_element_by_id("table2-15-0").text) self.assertEqual("IP list with API access", driver.find_element_by_id("table2-15-0").text)

View File

@ -17,7 +17,7 @@ class PAN3(PandoraWebDriverTestCase):
def test_pan3(self): def test_pan3(self):
driver = self.driver driver = self.driver
login(driver,"admin","pandora",self.base_url) login(driver)
detect_and_pass_all_wizards(driver) detect_and_pass_all_wizards(driver)
click_menu_element(driver,"Agent detail") click_menu_element(driver,"Agent detail")
driver.find_element_by_id("submit-crt").click() driver.find_element_by_id("submit-crt").click()