COMM3_app_partner_login_fail_testcases.yml 999 字节
config:
    name: APP合伙人登录,提示"当前账号已被禁用"
    base_url: ${ENV(base_url)}
    variables:
        phone: ${ENV(managerphone)}
        id: ${ENV(id)}
        msg: '当前账号已被禁用'
#
teststeps:

-   name:  APP合伙人登录
    api: api/app_api/login/auth_centerCompanys_api.yml
    extract:
        credentials: content.data.center.credentials
    validate:
        - eq:
            - content.data.center.partner.companys.0.id
            - ${convert_to_int($id)}
        - length_equals:
            - content.data.center.manager.companys
            - 0
        - eq:
            - content.msg
            - 成功

-   name: APP高管账号登录,提示"当前账号已被禁用"
    variables:
        ####身份类型 1:合伙人  2:高管
        idType: ${convert_to_int(2)}
    api: api/app_api/login/auth_login_api.yml
    extract:
        authCode: content.data.authCode
    validate:
        - eq:
              - content.msg
              - $msg