'Scenario: File name and name of subs are different (Uploading subtitles with different file name than file)
Given I have created a Video component
And I enter a "video_name_1.mp4" source to field number 1
And I see status message "No Timed Transcript"
And I upload the transcripts file "uk_transcripts.srt"
Then I see status message "Timed Transcript Uploaded Successfully"
And I see value "video_name_1" in the field "Default Timed Transcript"
And I save changes
Then when I view the video it does show the captions
And I edit the component
Then I see status message "Timed Transcript Found"'

def test_upload_subtitles(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.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_1'))
    self.save_unit_settings()
    self.video.is_captions_visible()
    self.edit_component()
    self.assertEqual(self.video.message('status'), 'Timed    Transcript    Found')
