'Scenario: Ensure that creation of a content group can be canceled correctly.
Given I have a course without content groups
When I click button \'Add your first Content Group\'
And I set new the name and click the button \'Cancel\'
Then I see that there is no content groups in the course'

def test_can_cancel_creation_of_content_group(self):

    self.group_configurations_page.visit()
    self.group_configurations_page.create_first_content_group()
    config = self.group_configurations_page.content_groups[0]
    config.name = u'Content    Group'
    config.cancel()
    self.assertEqual(0, len(self.group_configurations_page.content_groups))
