'Returns an array of messages related to modifying cohort settings. If wait_for_messages
is True, will wait for a message to appear.'

def get_cohort_settings_messages(self, type='confirmation', wait_for_messages=True):

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