member_set_permission_testcases.yml 571 字节
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_set_permission_api.yml
    validate:
        -   eq:
            - content.msg
            - ok
        -   eq:
            - content.data.employeeInfo.uid
            - $id