`world.wait_for()` (in `common/djangoapps/terrain/ui_helpers.py`) is a better option here, because it will time out after a set amount of time if the text doesn't appear.

Something like: `world.wait_for(lambda: world.css_text('#data-student-profiles-table') not in [u'', u'Loading...'])`