'Wait for the team capacity text to be correct.'

def wait_for_capacity_text(self, num_members, max_size=10):

    self.wait_for((lambda : (self.team_capacity_text == self.format_capacity_text(num_members, max_size))), description='Team    capacity    text    is    not    correct')
