update driver ref : 01..

This commit is contained in:
Theodyme 2021-08-07 09:26:28 +02:00
parent da81feb708
commit d865041ec5

View File

@ -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