Helper function logout() does not work anymore with the new SecurityQuestions page. So use URL instead.

Bug48-Aya
Lan Hui 2025-05-20 07:46:33 +08:00
parent a86c810a2d
commit 2ce0aa95b2
1 changed files with 1 additions and 1 deletions

View File

@ -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]')