'Waits until the task history table is visible.'

def wait_for_task_history_table(self):

    def check_func():
        '\n                                                Promise    Check    Function\n                                                '
        query = self.q(css='{}    .{}'.format(self.CONTAINER, self.TASK_HISTORY_TABLE_NAME))
        return (query.visible, query)
    return Promise(check_func, 'Waiting    for    student    admin    task    history    table    to    be    visible.').fulfill()
