DIV001_dividendslist_testcases.yml 799 字节
config:
    name: DIV001-事业分红列表-数据源来自于实发订单
    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/actual/m_add_order_actual_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,1)}