diff options
author | ankitjavalkar | 2017-02-17 16:20:13 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-02-17 16:20:13 +0530 |
commit | 7f1d92397166efb0a8a53bbdc8de5f8bc6535413 (patch) | |
tree | 0136e94586900f005bdf14dc1190dc56aff6f698 | |
parent | 011a65cbe75dc596a095f03f373f4f875fa80066 (diff) | |
download | online_test-7f1d92397166efb0a8a53bbdc8de5f8bc6535413.tar.gz online_test-7f1d92397166efb0a8a53bbdc8de5f8bc6535413.tar.bz2 online_test-7f1d92397166efb0a8a53bbdc8de5f8bc6535413.zip |
Modify button label in complete.html
-rw-r--r-- | yaksh/live_server_tests/selenium_test.py | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/complete.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py index 738dca0..7eeb22c 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, "go_to_home")) + EC.presence_of_element_located((By.ID, "home")) ) quit_link_elem.click() diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html index 81b6668..45284c4 100644 --- a/yaksh/templates/yaksh/complete.html +++ b/yaksh/templates/yaksh/complete.html @@ -32,5 +32,5 @@ <center><h2> Good bye! </h2></center> <center><h4> {{message}} </h4></center> <br><center><h4>You may now close the browser.</h4></center><br> - <center><a href="{{URL_ROOT}}/exam/" id="go_to_home"> Go To Home </a></center> + <center><a href="{{URL_ROOT}}/exam/" id="home"> Home </a></center> {% endblock content %} |