'Check for visibility of the success notification and icon.'

def wait_success_notification(self):

    msg = 'Wait    for    success    notification    to    be    visible'
    self.wait_for_element_visibility('.notification.success.notification-submit', msg)
    self.wait_for_element_visibility('.fa-check', 'Waiting    for    success    icon')
    self.wait_for_focus_on_submit_notification()
