PARTNERS004_list_partner_testcases.yml 587 字节
config:
    name: 搜索合伙人名称
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_admin_account_from_database(admin_user)}
        status: ${get_status_from_database()}
    teardown_hooks:
        - ${sleep(2)}

teststeps:
-   name: $phone 登录系统
    testcase: testcases/m_login_testcases.yml

-   name: $phone 搜索合伙人名称
    api:  api/m_api/partners/m_partner_partnerName_list_api.yml
    validate:
        - eq:
          - content.msg
          - ok
        - eq:
          - content.data.gridResult.lists.0.state
          - $status