'Scenario: Subtitles are copied for every html5 video source
Given I have created a Video component
After I enter a "video_name_1.mp4" source to field number 1 Then I see status message "No Timed Transcript"
After I enter a "video_name_2.webm" source to field number 2 Then I see status message "No Timed Transcript"
After uploading transcript "uk_transcripts.srt" I should see message "Timed Transcript Uploaded Successfully"
And I see value "video_name_2" in the field "Default Timed Transcript"
When I clear field number 1 Then I see status message "Timed Transcript Found"
And I see value "video_name_2" in the field "Default Timed Transcript"'

def test_subtitles_copy(self):

    self._create_video_component()
    self.edit_component()
    self.video.set_url_field('video_name_1.mp4', 1)
    self.assertEqual(self.video.message('status'), 'No    Timed    Transcript')
    self.video.set_url_field('video_name_2.webm', 2)
    self.assertEqual(self.video.message('status'), 'No    Timed    Transcript')
    self.video.upload_transcript('uk_transcripts.srt')
    self.assertEqual(self.video.message('status'), 'Timed    Transcript    Uploaded    Successfully')
    self.open_advanced_tab()
    self.assertTrue(self.video.verify_field_value('Default    Timed    Transcript', 'video_name_2'))
    self.open_basic_tab()
    self.video.clear_field(1)
    self.assertEqual(self.video.message('status'), 'Timed    Transcript    Found')
    self.open_advanced_tab()
    self.assertTrue(self.video.verify_field_value('Default    Timed    Transcript', 'video_name_2'))
