Change login function in PAN1.py and in PAN3.py
This commit is contained in:
parent
879d51740b
commit
668a72e1e7
|
@ -16,7 +16,7 @@ class PAN1(PandoraWebDriverTestCase):
|
|||
|
||||
def test_pan1(self):
|
||||
driver = self.driver
|
||||
login(driver,"admin","pandora",self.base_url)
|
||||
login(driver)
|
||||
detect_and_pass_all_wizards(driver)
|
||||
click_menu_element(driver,"General Setup")
|
||||
self.assertEqual("IP list with API access", driver.find_element_by_id("table2-15-0").text)
|
||||
|
|
|
@ -17,7 +17,7 @@ class PAN3(PandoraWebDriverTestCase):
|
|||
|
||||
def test_pan3(self):
|
||||
driver = self.driver
|
||||
login(driver,"admin","pandora",self.base_url)
|
||||
login(driver)
|
||||
detect_and_pass_all_wizards(driver)
|
||||
click_menu_element(driver,"Agent detail")
|
||||
driver.find_element_by_id("submit-crt").click()
|
||||
|
|
Loading…
Reference in New Issue