'Scenario: Start time and end time work together for Youtube video.
Given we a video in "Youtube" mode with start time set to 00:00:10 and end_time set to 00:00:15
And I see video slider at "0:10" position
And I click video button "play"
Then I wait until video stop playing
Then I see video slider at "0:15" position'

def test_video_start_time_and_end_time(self):

    data = {'start_time': '00:00:10', 'end_time': '00:00:15'}
    self.metadata = self.metadata_for_mode('youtube', additional_data=data)
    self.navigate_to_video()
    self.assertEqual(self.video.position, '0:10')
    self.video.click_player_button('play')
    self.video.wait_for_state('pause')
    self.assertIn(self.video.position, ('0:15', '0:16'))
