From e36d40cdd7153f807c332cb8d7da8943e89fec22 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 4 Feb 2021 23:56:07 +0800 Subject: app/test/test_signup.py: curious that cannot show Study Room. --- app/test/test_signup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/test/test_signup.py b/app/test/test_signup.py index 35afcd6..f4cc9ac 100644 --- a/app/test/test_signup.py +++ b/app/test/test_signup.py @@ -7,7 +7,7 @@ import random, string driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) -HOME_PAGE = 'http://121.4.94.30:91/' +HOME_PAGE = '121.4.94.30:91' @@ -33,4 +33,5 @@ def test_signup(): driver.get(HOME_PAGE + uname) - assert 'English Study Room for ' + uname in driver.title + print(driver.title) + assert 'English Study Room' in driver.page_source -- cgit v1.2.1