summaryrefslogtreecommitdiff
path: root/yaksh/live_server_tests
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-02-28 13:43:48 +0530
committerGitHub2020-02-28 13:43:48 +0530
commitce0cdc307312d4da803abb3377cf7562b3fbcb4b (patch)
treeb1303ee3214c0e1ff0581d9ce96495c7efde6cd7 /yaksh/live_server_tests
parent32f1d4dc7816bbb93f6dda77591eeb75c3f30c0d (diff)
parentb4751e0c1783a71c6672554114ccdf5a78c6b47f (diff)
downloadonline_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.tar.gz
online_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.tar.bz2
online_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.zip
Merge pull request #652 from adityacp/revamp_ui
Revamp UI in moderator and student dashboard
Diffstat (limited to 'yaksh/live_server_tests')
-rw-r--r--yaksh/live_server_tests/selenium_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py
index 41a0fad..6d9117d 100644
--- a/yaksh/live_server_tests/selenium_test.py
+++ b/yaksh/live_server_tests/selenium_test.py
@@ -74,6 +74,7 @@ class SeleniumTest():
submit_answer_elem.click()
WebDriverWait(self.driver, 90).until(ElementDisplay(
(By.XPATH, "//*[@id='ontop']")))
+ self.driver.execute_script("scrollBy(0,-1000);")
def test_c_question(self, question_label):
# Incorrect Answer
@@ -127,7 +128,7 @@ class SeleniumTest():
# open module link
self.driver.find_elements_by_partial_link_text(
'START')[0].click()
- self.driver.find_element_by_link_text('Start').click()
+ self.driver.find_element_by_link_text('START').click()
# open quiz link
self.driver.find_element_by_link_text(self.quiz_name).click()