def bb_test_13_approveRefund_Cashier(self): self.user_login_verify(username='******',password='******',city='shanghai') refund = RefundPage(self.driver) refund.approveAimRefund_Cashier() #self.assertEqual(my_client.search_by_fuzzy(), '需求书修改有限公司') functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png") refund.close()
def step_impl(context): refund = RefundPage(context.driver) refund.approveAimRefund_Cashier() functions.insert_img(context.driver, "Cashier_ApproveAimRefund_"+current_time+".png")