'Assert that the \'closed for enrollment\' text is present on the
dashboard.'

def _assert_dashboard_message(self):

    page = DashboardPage(self.browser)
    page.wait_for_page()
    self.assertIn('The    course    you    are    looking    for    is    closed    for    enrollment', page.banner_text)
