def test_7_approveRefund_Cash(self):
        self.user_login_verify(username='******',password='******',city='shanghai')

        refund = RefundPage(self.driver)
        refund.approveRefund_Cashier(Data.cmp_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求书修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
Example #2
0
def step_impl(context):
    '''总部付款出纳审批新退费'''
    refund = RefundPage(context.driver)
    refund.approveRefund_Cashier(Data.cmp_name)
    functions.insert_img(context.driver, "Cashier_ApproveMemberRefund_"+current_time+".png")