From f3facddee6ebd194d67a4f467b42e6d8010c4b20 Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Tue, 21 Oct 2014 12:49:19 -0400 Subject: [PATCH] Add wait to fix flaky tests. --- cms/djangoapps/contentstore/features/course-export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/djangoapps/contentstore/features/course-export.py b/cms/djangoapps/contentstore/features/course-export.py index 9ae6eead3e..b30c79ecb7 100644 --- a/cms/djangoapps/contentstore/features/course-export.py +++ b/cms/djangoapps/contentstore/features/course-export.py @@ -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'))