DIV002_dividendslist_testcases.yml
804 字节
config:
name: DIV002-事业分红列表-数据源不来自于意向订单
base_url: ${ENV(base_manager_url)}
teststeps:
- name: $phone 登录系统
variables:
phone: ${ENV(adminphone)}
testcase: testcases/common/m_login_testcases.yml
- name: 查看事业分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
extract:
- num1: content.data.gridResult.totalRow
- name: 新增意向订单
api: api/m_api/purpose/m_order_purpose_add_api.yml
validate:
- eq:
- content.msg
- ok
- name: 查看事业分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.gridResult.totalRow
- ${add($num1,0)}