summaryrefslogtreecommitdiff
path: root/yaksh/live_server_tests
diff options
context:
space:
mode:
authorankitjavalkar2017-02-16 17:58:09 +0530
committerankitjavalkar2017-02-17 12:00:57 +0530
commit011a65cbe75dc596a095f03f373f4f875fa80066 (patch)
treefcc488645b984876f075180e19f2d055891ac94b /yaksh/live_server_tests
parent6c5ffb79e9c8f1578768317ae334d3a16bcfd5c9 (diff)
downloadonline_test-011a65cbe75dc596a095f03f373f4f875fa80066.tar.gz
online_test-011a65cbe75dc596a095f03f373f4f875fa80066.tar.bz2
online_test-011a65cbe75dc596a095f03f373f4f875fa80066.zip
Multiple minor fixes
- Display a message when the question paper exists but has no questions - Avoid logout after encountering no quiz/no questions - Remove incorrect logout message in complete
Diffstat (limited to 'yaksh/live_server_tests')
-rw-r--r--yaksh/live_server_tests/selenium_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py
index 01ccc96..738dca0 100644
--- a/yaksh/live_server_tests/selenium_test.py
+++ b/yaksh/live_server_tests/selenium_test.py
@@ -111,7 +111,7 @@ class SeleniumTest():
def close_quiz(self):
quit_link_elem = WebDriverWait(self.driver, 5).until(
- EC.presence_of_element_located((By.ID, "login_again"))
+ EC.presence_of_element_located((By.ID, "go_to_home"))
)
quit_link_elem.click()