修改app\test\test_login.py添加若干代码,测试bug是否修复

pull/1/head
张小飞 2021-06-04 14:58:29 +08:00
parent 3aaaa90c6a
commit f44a4ce90f
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ def test_login():
driver.save_screenshot('./app/test/test_login_pic4.png')
assert 'EnglishPal Study Room for ' + uname in driver.title
#logout
driver.get(HOME_PAGE + 'logout')
# 测试bug是否修复
driver.get(HOME_PAGE)
elem = driver.find_element_by_link_text('登录')