'Scenario: When start and end times are specified, a range on slider is shown
Given I have created a Video component with subtitles
And Make sure captions are closed
And I edit the component
And I open tab "Advanced"
And I set value "00:00:12" to the field "Video Start Time"
And I set value "00:00:24" to the field "Video Stop Time"
And I save changes
And I click video button "play"
Then I see a range on slider'

def test_slider_range_works(self):

    self._create_course_unit(subtitles=True)
    self.video.hide_captions()
    self.edit_component()
    self.open_advanced_tab()
    self.video.set_field_value('Video    Start    Time', '00:00:12')
    self.video.set_field_value('Video    Stop    Time', '00:00:24')
    self.save_unit_settings()
    self.video.click_player_button('play')
