Commit c83c2dd4 by Xavier Antoviaque

Tests: Add delay to quizz step before testing result

parent b7485e89
......@@ -106,6 +106,7 @@ class QuizzBlockTest(MentoringBaseTest):
quizz1_choices_input[1].click()
submit.click()
time.sleep(1)
tips = messages.find_elements_by_xpath('./*')
self.assertEqual(len(tips), 2)
self.assertEqual(tips[0].text, 'To the question "Do you like this quizz?", you answered "Maybe not".\nAh, damn.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment