Commit b2fee69c by Sarina Canelake

Fix acceptance test to wait for text area to be populated

parent 258d3227
...@@ -15,6 +15,10 @@ from terrain.steps import reload_the_page ...@@ -15,6 +15,10 @@ from terrain.steps import reload_the_page
def find_student_profile_table(step): # pylint: disable=unused-argument def find_student_profile_table(step): # pylint: disable=unused-argument
# Find the grading configuration display # Find the grading configuration display
world.wait_for_visible('#data-student-profiles-table') 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...'])
if world.role == 'instructor': if world.role == 'instructor':
expected_data = [ expected_data = [
world.instructor.username, world.instructor.username,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment