Fix flaky test.

This test failed on master because it saw "Loading" and did not wait.
This commit is contained in:
Ben Patterson
2015-07-28 07:00:46 -04:00
parent d838686c1b
commit 54062801fe

View File

@@ -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 = [