def case_management(env): time.sleep(1) Index(driver=driver, url=env).show_menu("0")
def commission_management(env): Index(driver=driver, url=env).show_menu("1")
def test_check_strategy_list(self, drivers, assign_case_deploy): page_strategy_list = Index(drivers).strategy_list() page_strategy_list.check_strategy_list()
def test_check_company_list(self, drivers, collection_company_management): page_company_list = Index(drivers).company_list() page_company_list.check_company_list()
def test_check_case_list(self, drivers, case_management): Index(drivers).case_list().check_case_list()
def test_check_sound_record(self, drivers, collection_management): page_sound_record = Index(drivers).sound_record() page_sound_record.check_sound_record()
def test_check_commission_record(self, drivers, commission_management): Index(drivers).commission_record().check_commission_record()
def assign_case_deploy(env): Index(driver=driver, url=env).show_menu("4")
def test_check_commission_case(self, drivers, commission_management): page_commission_case = Index(drivers).commission_case() page_commission_case.check_commission_case()
def test_check_commission_switch_to_case_detail(self, drivers, commission_management): Index(drivers).commission_case().check_switch_to_case_detail()
def test_check_circulation_record(self, drivers, case_management): page_circulation_record = Index(drivers).case_list().page_case_detail( stu=6).page_circulation_record_detail() page_circulation_record.check_circulation_record()
def test_check_repayment_plan(self, drivers, case_management): page_repayment_plan = Index( drivers).case_list().page_case_detail().page_repayment_plan() page_repayment_plan.check_repayment_plan()
def test_check_case_detail(self, drivers, case_management): page_case_detail = Index(drivers).case_list().page_case_detail() page_case_detail.check_case_detail()
def repayment_management(env): Index(driver=driver, url=env).show_menu("2")
def test_check_repayment_detail(self, drivers, repayment_management): page_repayment_detail = Index(drivers).repayment_detail() page_repayment_detail.check_repayment_detail()
def collection_management(env): Index(driver=driver, url=env).show_menu("3")
def test_check_repayment_detail_switch_to_case_detail( self, drivers, repayment_management): page_repayment_detail = Index(drivers).repayment_detail() page_repayment_detail.switch_to_case_detail()
def collection_company_management(env): Index(driver=driver, url=env).show_menu("5")
def test_index(self, drivers): Index(drivers).check_index()