PARTNERS001_list_partner_testcases.yml 503 字节
config:
    name: PARTNERS001-查看合伙人列表,数据正确
    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/partners/m_partner_list_api.yml
    extract:
        - totalRow: content.data.gridResult.totalRow
    validate:
        - length_equals:
            - content.data.gridResult.lists
            - $totalRow