'Scenario: The user should be able to cancel the Delete Team dialog
Given I am staff user for a course with a team
When I visit the Team profile page
Then I should see the Edit Team button
And When I click edit team button
Then I should see the Delete Team button
When I click the delete team button
And I cancel the prompt
And I refresh the page
Then I should still see the team'

def test_cancel_delete(self):

    self.delete_team(cancel=True)
    self.team_management_page.wait_for_page()
    self.browser.refresh()
    self.team_management_page.wait_for_page()
    self.assertEqual('    '.join(('All    Topics', self.topic['name'], self.team['name'])), self.team_management_page.header_page_breadcrumbs)
