'Scenario: User should see `Team is full` message when team is full.
Given I am enrolled in a course with a team configuration, a topic,
and a team belonging to that topic
And team has no space left
And I am not a member of any team
And I visit the team
Then I should see `Team is full` message'

def test_team_full_message(self):

    self._set_team_configuration_and_membership(create_membership=True, max_team_size=1, membership_team_index=0, visit_team_index=0, another_user=True)
    self.team_page.visit()
    self.assertEqual(self.team_page.join_team_message, 'This    team    is    full.')
    self.assert_team_details(num_members=1, is_member=False, max_size=1)
