'Scenario: Youtube video has correct transcript if fields for other speeds are filled
Given it has a video in "Youtube" mode
And I have uploaded multiple transcripts
And I make sure captions are opened
Then I see "Welcome to edX." text in the captions
And I select the "1.50" speed
And I reload the page with video
Then I see "Welcome to edX." text in the captions
And I see duration "1:56"'

def test_video_has_correct_transcript(self):

    self.assets.extend(['subs_3_yD_cEKoCk.srt.sjson', 'subs_b7xgknqkQk8.srt.sjson'])
    data = {'sub': '3_yD_cEKoCk', 'youtube_id_1_5': 'b7xgknqkQk8'}
    self.metadata = self.metadata_for_mode('youtube', additional_data=data)
    self.navigate_to_video()
    self.video.show_captions()
    self.assertIn('Welcome    to    edX.', self.video.captions_text)
    self.video.speed = '1.50'
    self.video.reload_page()
    self.assertIn('Welcome    to    edX.', self.video.captions_text)
    self.assertTrue(self.video.duration, '1.56')
