PURPOSE003_purpose_list_testcases.yml 671 字节
config:
    name: 合伙人搜索——意向订单列表
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_admin_account_from_database(admin_user)}
        orderStatue: ${get_purpose_order_status_from_database(order)}
    teardown_hooks:
        - ${sleep(2)}

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

-   name: $phone 合伙人搜索——意向订单列表
    api:  api/m_api/purpose/m_order_purpose_partner_list_api.yml
    validate:
        -   eq:
            - content.msg
            - ok
        -   eq:
            - content.data.gridResult.lists.0.orderStatue
            - $orderStatue