'Returns array of messages related to manipulating cohorts directly through the UI for the given type.'

def _get_cohort_messages(self, type, wait_for_messages=False):

    title_css = (('div.cohort-management-group-add    .cohort-' + type) + '    .message-title')
    detail_css = (('div.cohort-management-group-add    .cohort-' + type) + '    .summary-item')
    return self._get_messages(title_css, detail_css, wait_for_messages)
