'Verify the number of teams on \'My Team\'.'

def verify_my_team_count(self, expected_count):

    self.q(css=MY_TEAMS_BUTTON_CSS).click()
    self.wait_for_ajax()
    self.wait_for((lambda : (len(self.q(css='.team-card')) == expected_count)), description='Expected    number    of    teams    is    wrong')
