summaryrefslogtreecommitdiff
path: root/app/test
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-04 23:48:21 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-04 23:48:21 +0800
commit795d572f1903547fb8dbbd35d64966d95f5a8f35 (patch)
treeb157fb21b73f416e309f2e28c5a28cc0f44e89b6 /app/test
parenta459dc3fe910653cfc83d49fb5b0a33c5bfa956b (diff)
app/test/test_signup.py: curious that find_link_by_text did not work.
Diffstat (limited to 'app/test')
-rw-r--r--app/test/test_signup.py3
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