Commit 7056c803 by JonahStanley

Fixed most of the lms tests to work on firefox

parent a867676e
......@@ -8,4 +8,5 @@ def i_click_on_the_tab_and_check(step):
tab_text = tab_title['TabName']
title = tab_title['PageTitle']
world.click_link(tab_text)
world.wait_for(lambda _driver:title in world.browser.title)
assert(title in world.browser.title)
......@@ -226,7 +226,6 @@ def answer_problem(problem_type, correctness):
input_value = "8" if correctness == 'correct' else "5"
choice = "choiceinput_0bc" if correctness == 'correct' else "choiceinput_1bc"
world.css_check(inputfield(problem_type, choice=choice))
world.css_fill(
inputfield(
problem_type,
......@@ -234,6 +233,7 @@ def answer_problem(problem_type, correctness):
),
input_value
)
world.css_check(inputfield(problem_type, choice=choice))
def problem_has_answer(problem_type, answer_class):
......
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