member_list_testcases.yml 576 字节
config:
    name: 成员管理搜索
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_employee_account_from_database()}
        id: ${get_uid_from_database()}
    teardown_hooks:
        - ${sleep(2)}

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

-   name: $phone 成员管理搜索
    api:  api/m_api/member/member_list_api.yml
    validate:
        -   eq:
            - content.msg
            - ok
        -   eq:
            - content.data.gridResult.lists.0.id
            - ${convert_to_string($id)}