'Scenario: Correct video is played when we have different video formats.
Given the course has a Video component with Youtube, HTML5 and HLS sources available.
When I view the Video component
Then it should play the Youtube video'

def test_play_youtube_video(self):

    additional_data = {'youtube_id_1_0': 'b7xgknqkQk8'}
    self.metadata = self.metadata_for_mode('html5_and_hls', additional_data=additional_data)
    self.navigate_to_video()
    self.assertTrue(self.video.is_video_rendered('youtube'))
