PARTNERS003_list_partner_testcases.yml 580 字节
config:
    name: 搜索合伙类型
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${convert_to_string(10000000001)}
        status: ${get_status_from_database(partner_info)}
    teardown_hooks:
        - ${sleep(2)}

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

-   name: $phone 搜索合伙类型
    api:  api/m_api/partners/m_partner_partnertype_list_api.yml
    validate:
        - eq:
          - content.msg
          - ok
        - eq:
          - content.data.gridResult.lists.0.state
          - $status