diff options
-rw-r--r-- | app/test/test_signup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/test/test_signup.py b/app/test/test_signup.py index c2432f8..35afcd6 100644 --- a/app/test/test_signup.py +++ b/app/test/test_signup.py @@ -31,7 +31,6 @@ def test_signup(): assert '恭喜,你已成功注册' in driver.page_source assert uname in driver.page_source - elem = driver.find_element_by_link_text('开始使用') - elem.click() + driver.get(HOME_PAGE + uname) assert 'English Study Room for ' + uname in driver.title |