ADMIN001_list_admin_testcases.yml 495 字节
config:
    name: ADMIN001-查看所有成员列表,数据正确
    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/admin/m_admin_list_api.yml
    extract:
        - totalRow: content.data.gridResult.totalRow
    validate:
        - length_equals:
            - content.data.gridResult.lists
            - $totalRow