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

def test_warning_with_poll_advance_modules_only(self):

    self._add_deprecated_advance_modules(block_types=['poll', 'survey'])
    self.course_outline_page.visit()
    self._verify_deprecation_warning_info(deprecated_blocks_present=True, components_present=False, deprecated_modules_list=['poll', 'survey'])
