'Scenario: Create new subsection
Given that I have created a section
When I click the "+ Add subsection" button in that section
Then I see a new subsection added to the bottom of the section
And the display name is in its editable form.'

def test_create_new_subsection(self):

    self.course_outline_page.visit()
    self.course_outline_page.add_section_from_top_button()
    self.assertEqual(len(self.course_outline_page.sections()), 1)
    self.course_outline_page.section_at(0).add_subsection()
    subsections = self.course_outline_page.section_at(0).subsections()
    self.assertEqual(len(subsections), 1)
    self.assertTrue(subsections[0].in_editable_form())
