forked from aurelien.plancke/ScodocTestClient
update driver ref : 01..
This commit is contained in:
parent
da81feb708
commit
d865041ec5
@ -32,10 +32,10 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
else:
|
||||
self.driver = webdriver.Chrome()
|
||||
auth_page = SCHEMA + "://" + BASE_SSH_URL + "auth/login?next=%2F" + next_page
|
||||
driver.get(auth_page)
|
||||
driver.find_element_by_id("user_name").send_keys(SCODOC_ADMIN_ID)
|
||||
driver.find_element_by_id("password").send_keys(SCODOC_ADMIN_PASS)
|
||||
driver.find_element_by_id("submit").click()
|
||||
self.driver.get(auth_page)
|
||||
self.driver.find_element_by_id("user_name").send_keys(SCODOC_ADMIN_ID)
|
||||
self.driver.find_element_by_id("password").send_keys(SCODOC_ADMIN_PASS)
|
||||
self.driver.find_element_by_id("submit").click()
|
||||
self.driver.get(SCHEMA + "://" + BASE_URL)
|
||||
|
||||
# Test : Verification de la connexion admin effective
|
||||
|
Loading…
Reference in New Issue
Block a user