diff options
author | adityacp | 2018-02-08 12:19:37 +0530 |
---|---|---|
committer | adityacp | 2018-02-08 12:19:37 +0530 |
commit | 93c4469db46ca0df19dbcf33eb7e8f6fad4f5b7b (patch) | |
tree | 5f24cba8d61e65ba68a928e3ebdec394717fd330 /yaksh | |
parent | e1b60921ba995148e0741637011651eb21eb49be (diff) | |
download | online_test-93c4469db46ca0df19dbcf33eb7e8f6fad4f5b7b.tar.gz online_test-93c4469db46ca0df19dbcf33eb7e8f6fad4f5b7b.tar.bz2 online_test-93c4469db46ca0df19dbcf33eb7e8f6fad4f5b7b.zip |
Change Selenium tests
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/live_server_tests/selenium_test.py | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/complete.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py index 5635add..6351f9e 100644 --- a/yaksh/live_server_tests/selenium_test.py +++ b/yaksh/live_server_tests/selenium_test.py @@ -152,7 +152,7 @@ class SeleniumTest(): def close_quiz(self): quit_link_elem = WebDriverWait(self.driver, 5).until( - EC.presence_of_element_located((By.ID, "home")) + EC.presence_of_element_located((By.ID, "Next")) ) quit_link_elem.click() diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html index 39f60c2..3d6cadc 100644 --- a/yaksh/templates/yaksh/complete.html +++ b/yaksh/templates/yaksh/complete.html @@ -38,12 +38,12 @@ width="80" alt="YAKSH"></img>{% endblock %} {% endif %} {% if module_id and not user == "moderator" %} {% if first_unit %} - <a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}/1" class="btn btn-info"> Next + <a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}/1" class="btn btn-info" id="Next"> Next <span class="glyphicon glyphicon-chevron-right"> </span> </a> {% else %} - <a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}" class="btn btn-info"> Next + <a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}" class="btn btn-info" id="Next"> Next <span class="glyphicon glyphicon-chevron-right"> </span> </a> |