dividend_orders002_testcases.yml
979 字节
config:
name: 未收明细——分红订单
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_partner_account_from_database()}
order_code: ${get_detailAction_0_order_code_from_database()}
plan_order_amount: ${get_detailAction_0_plan_order_amount_from_database()}
use_partner_bonus: ${get_detailAction_0_use_partner_bonus_amount_from_database()}
msg: 成功
teardown_hooks:
- ${sleep(3)}
teststeps:
- name: $phone 登录系统
testcase: testcases/login_testcases.yml
- name: $phone 未收明细——分红订单
api: api/app_api/dividend/orders002.api.yml
validate:
- eq:
- content.msg
- $msg
- eq:
- content.data.list.0.deliveryNo
- $order_code
- eq:
- content.data.list.0.orderAmount
- $plan_order_amount
- eq:
- content.data.list.0.dividendReceivable
- $use_partner_bonus