Beispiel #1
0
 def search_open_gff_client(self):
     SearchClient(self.config).quick_search_client(
         utils.get_common_data(
             self.config)["test_data"]["gff_client_data"]["fullname"])
     utils.update_temp_data(self.config, "client", 0, "id",
                            BaseClientPage(self.config).get_client_id())
     return self
 def add_plan_and_plan_fee(self):
     data = utils.get_common_data(self.config)["test_data"]["change_plan_status_data"]
     SearchClient(self.config).open_client_by_url() \
         .using_add_plan_wizard() \
         .add_mortgage_plan_with_basic_details()\
         .finish() \
         .open_change_plan_status_dialog() \
         .change_plan_status_to(data["submitted_to_provider"]) \
         .open_change_plan_status_dialog() \
         .change_plan_status_to(data["inforce"]) \
         .open_add_fee_from_plan_action() \
         .add_initial_fee_with_basic_details(
         utils.get_common_data(self.config)["test_data"]["fee_data"]["payment_type_by_provider"])
     BasePlanPage(self.config).click_open_first_plan_fee()
     Fee(self.config).save_fee_details() \
         .open_change_fee_status_dialog() \
         .change_fee_status_to(data["due"])
     return self
Beispiel #3
0
def ui_delete_recommendations(config):
    yield
    SearchClient(config).open_client_by_url()
    PlanningOpportunities(config).using_planning_opportunities().open_recommendations()\
        .using_delete_recommendations_dialog().delete_all_recommendations()
Beispiel #4
0
def ui_delete_service_case_for_all_clients(config):
    yield
    clients_list = utils.get_temp_data_collection(config, "client")
    for client in clients_list:
        SearchClient(config).open_client_by_url(client["id"])
        ClientServiceCase(config).navigate_to_service_cases().open_service_case().delete_service_case()
Beispiel #5
0
def ui_delete_service_case(config):
    yield
    SearchClient(config).open_client_by_url()
    ClientServiceCase(config).navigate_to_service_cases().open_service_case().delete_service_case()
Beispiel #6
0
def ui_add_delete_opportunity(config):
    SearchClient(config).open_client_by_url()
    ClientOpportunities(config).add_opportunity()
    yield
    SearchClient(config).open_client_by_url()
    ClientOpportunities(config).navigate_to_opportunities().open_opportunity().delete_opportunity()
Beispiel #7
0
def ui_clear_document_queue(config):
    yield
    SearchClient(config).open_client_by_url()
    GenerateDocument(config).open_document_queue().clear_document_queue()
Beispiel #8
0
def ui_delete_client_open_activities(config):
    yield
    SearchClient(config).open_client_by_url()
    ClientActivities(config).navigate_to_client_open_activities().delete_client_open_activities()
Beispiel #9
0
def ui_delete_risk_tolerance_data(config):
    yield
    SearchClient(config).open_client_by_url()
    CompleteFactFind(config).go_to_fact_find() \
        .clear_risk_subtab_data() \
        .clear_risk_replay_subtab_data()