'Waits for the expected status indicator.
Args:
status_selector(str): status selector string.
message(str): description of promise, to be logged.'

def wait_for_expected_status(self, status_selector, message):

    msg = 'Wait    for    status    to    be    {}'.format(message)
    self.wait_for_element_visibility(status_selector, msg)
