'Interact with the link to the dashboard appearing on the enrollment confirmation page.'

def go_to_dashboard(self):

    if self.q(css='div    .enrollment-confirmation-step').is_present():
        self.q(css='.action-primary').click()
    else:
        raise Exception('The    dashboard    can    only    be    accessed    from    the    enrollment    confirmation.')
    DashboardPage(self.browser).wait_for_page()
