'Returns list of tab name in a category.
Arguments:
category_type (str): category type
Returns:
list'

def get_category_tab_names(self, category_type):

    self.q(css='.add-xblock-component-button[data-type={}]'.format(category_type)).first.click()
    return self.q(css='.{}-type-tabs>li>a'.format(category_type)).text
