Commit 17daa2a0 by Will Daly

Fixed two other tests

parent 27d51b34
...@@ -9,7 +9,8 @@ def i_created_discussion_tag(step): ...@@ -9,7 +9,8 @@ def i_created_discussion_tag(step):
world.create_component_instance( world.create_component_instance(
step, '.large-discussion-icon', step, '.large-discussion-icon',
'discussion', 'discussion',
'.xmodule_DiscussionModule' '.xmodule_DiscussionModule',
has_multiple_templates=False
) )
......
...@@ -170,7 +170,8 @@ def edit_latex_source(step): ...@@ -170,7 +170,8 @@ def edit_latex_source(step):
@step('my change to the High Level Source is persisted') @step('my change to the High Level Source is persisted')
def high_level_source_persisted(step): def high_level_source_persisted(step):
def verify_text(driver): 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) world.wait_for(verify_text)
......
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