'Scenario: Verify that correct components are present in Common Problem Types tab.
Given I am a staff user
When I go to unit page
Then I see correct components under `Common Problem Types` tab in `problem` category'

def test_common_problem_types_tab(self):

    self.go_to_unit_page()
    page = ContainerPage(self.browser, None)
    expected_components = ['Blank    Common    Problem', 'Checkboxes', 'Dropdown', 'Multiple    Choice', 'Numerical    Input', 'Text    Input', 'Checkboxes    with    Hints    and    Feedback', 'Dropdown    with    Hints    and    Feedback', 'Multiple    Choice    with    Hints    and    Feedback', 'Numerical    Input    with    Hints    and    Feedback', 'Text    Input    with    Hints    and    Feedback']
    self.assertEqual(page.get_category_tab_components('problem', 1), expected_components)
