'Scenario: Video controls for all videos show correctly
Given I have created two Video components
And first is private video
When I reload the page
Then video controls for all videos are visible
And the error message isn\'t shown'

def test_video_controls_shown_correctly(self):

    self._create_course_unit(youtube_stub_config={'youtube_api_private_video': True})
    self.video.create_video()
    self.edit_component(1)
    self.open_advanced_tab()
    self.video.set_field_value('YouTube    ID', 'sampleid123')
    self.save_unit_settings()
    self._navigate_to_course_unit_page()
    self.assertTrue(self.video.is_controls_visible())
    self.assertFalse(self.video.is_error_message_shown)
