Merge pull request #5669 from edx/benp/solano2-flaky-couse-export

Add wait to fix flaky tests.
This commit is contained in:
Ben Patterson
2014-10-21 15:31:01 -04:00

View File

@@ -49,6 +49,7 @@ def get_an_error_dialog(step):
@step('I can click to go to the unit with the error$')
def i_click_on_error_dialog(step):
world.wait_for_visible(".button.action-primary")
world.click_link_by_text('Correct failed component')
problem_string = unicode(world.scenario_dict['COURSE'].id.make_usage_key("problem", 'ignore'))