'Scenario: Click unit name to navigate to unit page
Given that I have expanded a section/subsection so I can see unit names
When I click on a unit name
Then I will be taken to the appropriate unit page'

def test_navigate_to_unit(self):

    self.course_outline_page.visit()
    self.course_outline_page.section_at(0).subsection_at(0).expand_subsection()
    unit = self.course_outline_page.section_at(0).subsection_at(0).unit_at(0).go_to()
    unit.wait_for_page()
