'Scenario: When enter key is pressed on a caption, an outline shows around it
Given I have created a Video component with subtitles
And Make sure captions are opened
Then I focus on first caption line
And I see first caption line has focused'

def test_caption_line_focus(self):

    self._create_course_unit(subtitles=True)
    self.video.show_captions()
    self.video.focus_caption_line(2)
    self.assertTrue(self.video.is_caption_line_focused(2))
