Fixed most of the lms tests to work on firefox
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user