_______________________________________ TestCatalogs.test_create_catalog_item ________________________________________

self = <test_catalog.TestCatalogs instance at 0x55cd3b0>
mozwebqa = <pytest_mozwebqa.pytest_mozwebqa.TestSetup instance at 0x55cd3f8>
home_page_logged_in = <pages.dashboard.DashboardPage object at 0x54c5c50>

    def test_create_catalog_item(self, mozwebqa, home_page_logged_in):
        cat_pg = home_page_logged_in.header.site_navigation_menu("Services").sub_navigation_menu("Catalogs").click()
        Assert.true(cat_pg.is_the_current_page)
        new_cat_item_pg = cat_pg.click_on_catalog_item_accordion().add_new_catalog_item()
        new_cat_item_pg.choose_catalog_item_type('VMware')
>       new_cat_item_pg.fill_basic_info(self.catalog_item_name,self.catalog_item_desc,self.catalog_name,self.service_dialog_name,"2")

tests/ui/services/test_catalog.py:45: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pages.services_subpages.catalog_subpages.catalog_items.NewCatalogItem object at 0x54c55d0>
name = 'auto_cat_item', desc = 'item_desc', catalog = 'auto_catalog', dialog = 'auto_catalog_dialog', cost = '2'

    def fill_basic_info(self, name, desc,catalog,dialog,cost):
        self.selenium.find_element(*self._display_checkbox).click()
        time.sleep(2)
        self._wait_for_results_refresh()
        self.selenium.find_element(*self._name_field).send_keys(name)
        self.selenium.find_element(*self._desc_field).send_keys(desc)
>       self.select_dropdown(catalog, *self._select_catalog)

../cfme_pages/pages/services_subpages/catalog_subpages/catalog_items.py:77: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pages.services_subpages.catalog_subpages.catalog_items.NewCatalogItem object at 0x54c55d0>
value = 'auto_catalog', element = ('css selector', 'select#catalog_id')
select = <selenium.webdriver.support.select.Select instance at 0x54c1998>

    def select_dropdown(self, value, *element):
        select = Select(self.selenium.find_element(*element))
>       select.select_by_visible_text(value)

../cfme_pages/pages/page.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.select.Select instance at 0x54c1998>, text = 'auto_catalog'

    def select_by_visible_text(self, text):
        """Select all options that display text matching the argument. That is, when given "Bar" this
               would select an option like:
    
                <option value="foo">Bar</option>
    
               :Args:
                - text - The visible text to match against
               """
        xpath = ".//option[normalize-space(.) = %s]" % self._escapeString(text)
        opts = self._el.find_elements(By.XPATH, xpath)
        matched = False
        for opt in opts:
            self._setSelected(opt)
            if not self.is_multiple:
                return
            matched = True
    
        if len(opts) == 0 and " " in text:
            subStringWithoutSpace = self._get_longest_token(text)
            if subStringWithoutSpace == "":
                # seems weird to me that the java impl just selects the first or all if multiple
                # oh well... doing it here too.
                candidates = self.options
            else:
                xpath = ".//option[contains(.,%s)]" % self._escapeString(subStringWithoutSpace)
                candidates = self._el.find_elements(By.XPATH, xpath)
            for candidate in candidates:
                self._setSelected(candidate)
                if not self.is_multiple:
                    return
                matched = True
    
        if matched != True:
>           raise NoSuchElementException("Could not locate element with visible text: %s" % text)
E           NoSuchElementException: Message: 'Could not locate element with visible text: auto_catalog'

../../python_envs/miq/lib/python2.7/site-packages/selenium/webdriver/support/select.py:136: NoSuchElementException