Helper function logout() does not work anymore with the new SecurityQuestions page. So use URL instead.
parent
a86c810a2d
commit
2ce0aa95b2
|
@ -160,7 +160,7 @@ def test_student_with_valid_student_number_can_sign_up(driver, url, restore_data
|
|||
elem.send_keys('[123Abc]')
|
||||
elem = driver.find_element(By.ID, 'signup_btn')
|
||||
elem.click()
|
||||
logout(driver)
|
||||
driver.get(url + 'logout.php')
|
||||
|
||||
# Log in Student account
|
||||
login(driver, url, '202400000001', '[123Abc]')
|
||||
|
|
Loading…
Reference in New Issue