'Scenario: Verify that deprecation warning message is shown if only
poll component exist and no poll advance modules are present.
Given I have created two poll components
When I go to course outline
Then I see poll deprecated warning
And I see correct poll deprecated warning heading text
And I don\'t see poll deprecated warning advance modules remove text
And I see list of poll components with correct display names'

def test_warning_with_poll_components_only(self):

    self._create_deprecated_components()
    self.course_outline_page.visit()
    self._verify_deprecation_warning_info(deprecated_blocks_present=False, components_present=True, components_display_name_list=['Poll', 'Survey'])
