'Scenario: Upload button for single youtube id
Given I have created a Video component
After I enter a "http://youtu.be/t_not_exist" source to field number 1 I see message "No Timed Transcript"
And I see button "upload_new_timed_transcripts"
After I upload the transcripts file "uk_transcripts.srt" I see message "Timed Transcript Uploaded Successfully"
After saving the changes video captions should be visible
When I edit the component Then I see status message "Timed Transcript Found"'

def test_upload_button_w_youtube(self):

    self._create_video_component()
    self.edit_component()
    self.video.set_url_field('http://youtu.be/t_not_exist', 1)
    self.assertEqual(self.video.message('status'), 'No    Timed    Transcript')
    self.assertTrue(self.video.is_transcript_button_visible('upload_new_timed_transcripts'))
    self.video.upload_transcript('uk_transcripts.srt')
    self.assertEqual(self.video.message('status'), 'Timed    Transcript    Uploaded    Successfully')
    self.save_unit_settings()
    self.assertTrue(self.video.is_captions_visible())
    self.edit_component()
    self.assertEqual(self.video.message('status'), 'Timed    Transcript    Found')
