'Scenario: Captions are hidden correctly
Given I have created a Video component with subtitles
And I have hidden captions
Then when I view the video it does not show the captions'

def test_captions_hidden_correctly(self):

    self._create_course_unit(subtitles=True)
    self.video.hide_captions()
    self.assertFalse(self.video.is_captions_visible())
