'Scenario: Cancel delete of section
Given that I clicked the delte button for a section on the course outline
And I received a confirmation message, asking me if I really want to delete the component
When I click "Cancel"
Then the confirmation message should close
And the section should remain in the course outline'

def test_cancel_delete_section(self):

    self.course_outline_page.visit()
    self.assertEqual(len(self.course_outline_page.sections()), 1)
    self.course_outline_page.section_at(0).delete(cancel=True)
    self.assertEqual(len(self.course_outline_page.sections()), 1)
