'Click on Join Team button'

def click_join_team_button(self, total_members=1):

    self.q(css='.join-team    .action-primary').first.click()
    self.wait_for((lambda : (not self.join_team_button_present)), description='Join    Team    button    did    not    go    away')
    self.wait_for_capacity_text(total_members)
