def METHOD_NAME(self):
    """Test 2-step enroll flow"""
    # Attach enrollment flow to identification stage
    ident_stage: IdentificationStage = IdentificationStage.objects.get(
        name="default-authentication-identification"
    )
    ident_stage.enrollment_flow = Flow.objects.get(slug="default-enrollment-flow")
    ident_stage.save()
    self.driver.get(self.live_server_url)
    self.initial_stages()
    interface_user = self.get_shadow_root("ak-interface-user")
    wait = WebDriverWait(interface_user, self.wait_timeout)
    wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, ".pf-c-page__header")))
    self.driver.get(self.if_user_url("/settings"))
    user = User.objects.get(username="foo")
    self.assertEqual(user.username, "foo")
    self.assertEqual(user.name, "some name")
    self.assertEqual(user.email, "foo@bar.baz")