'Scenario: Users who are not member of this team can only see limited info for this team.
Given I am enrolled in a course with a team configuration, a topic,
and a team belonging to that topic of which I am not a member
When I visit the Team page for that team
Then I should not see full team detail
And I should see the team members
And I should not see my team membership text
And I should not see the Leave Team and Invite Team links'

def test_other_users_can_see_limited_team_details(self):

    self._set_team_configuration_and_membership(create_membership=False)
    self.team_page.visit()
    self.assert_team_details(is_member=False, num_members=0)
