forked from mrlan/EnglishPal
修改app\test\test_login.py添加若干代码,测试bug是否修复
parent
3aaaa90c6a
commit
f44a4ce90f
|
@ -60,6 +60,9 @@ def test_login():
|
||||||
driver.save_screenshot('./app/test/test_login_pic4.png')
|
driver.save_screenshot('./app/test/test_login_pic4.png')
|
||||||
assert 'EnglishPal Study Room for ' + uname in driver.title
|
assert 'EnglishPal Study Room for ' + uname in driver.title
|
||||||
|
|
||||||
|
#logout
|
||||||
|
driver.get(HOME_PAGE + 'logout')
|
||||||
|
|
||||||
# 测试bug是否修复
|
# 测试bug是否修复
|
||||||
driver.get(HOME_PAGE)
|
driver.get(HOME_PAGE)
|
||||||
elem = driver.find_element_by_link_text('登录')
|
elem = driver.find_element_by_link_text('登录')
|
||||||
|
|
Loading…
Reference in New Issue