dividend_statistics_testcases.yml
874 字节
config:
name: 分红统计
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_partner_account_from_database()}
receivable: ${get_receivable_from_database()}
received: ${get_received_from_database()}
outstanding: ${get_outstanding_from_database()}
msg: 成功
teardown_hooks:
- ${sleep(3)}
teststeps:
- name: $phone 登录系统
testcase: testcases/login_testcases.yml
- name: $phone 分红统计
api: api/app_api/dividend/statistics_api.yml
validate:
- eq:
- content.msg
- $msg
- eq:
- content.data.statistics.receivable
- $receivable
- eq:
- content.data.statistics.quarters.1.received
- $received
- eq:
- content.data.statistics.quarters.1.outstanding
- $outstanding