'Scenario: Deleting a team should update the team count on the topics page
Given I am staff user for a course with a team
And I delete a team
When I navigate to the browse topics page
Then the team count for the deletd team\'s topic should be updated'

def test_delete_team_updates_topics(self):

    self.delete_team(require_notification=False)
    BrowseTeamsPage(self.browser, self.course_id, self.topic).click_all_topics()
    topics_page = BrowseTopicsPage(self.browser, self.course_id)
    topics_page.wait_for_page()
    self.teams_page.verify_topic_team_count(0)
