Fixed issues with problem-editor.feature

This commit is contained in:
JonahStanley
2013-07-29 14:49:50 -04:00
parent 3bc34d71a9
commit 419207ac3d
3 changed files with 8 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ def cancel_does_not_save_changes(step):
def create_latex_problem(step):
world.click_new_component_button(step, '.large-problem-icon')
# Go to advanced tab.
world.css_click('#ui-id-2')
world.css_click('#ui-id-2', success_condition=lambda: world.css_has_class('div.ui-tabs li', 'ui-state-active', index=1))
world.click_component_from_menu("problem", "latex_problem.yaml", '.xmodule_CapaModule')