'Scenario: Visiting the My Teams page when user is a member of a team should display the teams.
Given I am enrolled in a course with a team configuration and a topic and am a member of a team
When I visit the My Teams page
Then I should see a pagination header showing the number of teams
And I should see all the expected team cards
And I should not see a pagination footer'

def test_member_of_a_team(self):

    teams = self.create_teams(self.topic, 1)
    self.create_membership(self.user_info['username'], teams[0]['id'])
    with self.assert_events_match_during(self.only_team_events, expected_events=[self.page_viewed_event]):
        self.my_teams_page.visit()
    self.verify_teams(self.my_teams_page, teams)
