From 54062801fe7617d4c48e40b767e20013d1d6f83f Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Tue, 28 Jul 2015 07:00:46 -0400 Subject: [PATCH] Fix flaky test. This test failed on master because it saw "Loading" and did not wait. --- lms/djangoapps/instructor/features/data_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/instructor/features/data_download.py b/lms/djangoapps/instructor/features/data_download.py index a8734621c6..a48b89c660 100644 --- a/lms/djangoapps/instructor/features/data_download.py +++ b/lms/djangoapps/instructor/features/data_download.py @@ -18,7 +18,7 @@ def find_student_profile_table(step): # pylint: disable=unused-argument world.wait_for_visible('#data-student-profiles-table') # Wait for the data table to be populated - world.wait_for(lambda _: world.css_text('#data-student-profiles-table') not in [u'', u'Loading...']) + world.wait_for(lambda _: world.css_text('#data-student-profiles-table') not in [u'', u'Loading']) if world.role == 'instructor': expected_data = [