Fixed two other tests
This commit is contained in:
@@ -9,7 +9,8 @@ def i_created_discussion_tag(step):
|
||||
world.create_component_instance(
|
||||
step, '.large-discussion-icon',
|
||||
'discussion',
|
||||
'.xmodule_DiscussionModule'
|
||||
'.xmodule_DiscussionModule',
|
||||
has_multiple_templates=False
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -170,7 +170,8 @@ def edit_latex_source(step):
|
||||
@step('my change to the High Level Source is persisted')
|
||||
def high_level_source_persisted(step):
|
||||
def verify_text(driver):
|
||||
return world.css_text('.problem') == 'hi'
|
||||
css_sel = '.problem div>span'
|
||||
return world.css_text(css_sel) == 'hi'
|
||||
|
||||
world.wait_for(verify_text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user