QX010_jj_solution_permission.yml 1004 字节
config:
    name: QX010:解决权限主导人不能给自己提出的解决方案评分-权限校验1

teststeps:

-   name: 解决权限人员18200000006解决问题,主导人是18200000003
    testcase: testcases/question/solution_question.yml
    extract:
        qid: content.data.questions.0.id

-   name: 解决权限人员18200000003登录系统
    variables:
        currtime: ${make_time()}
        uuid: ${make_uuid()}
        access_token: ''
        sign: ${make_sign($currtime, $uuid,$access_token)}
        phone: ${ENV(jjlevelhighphone)}
    testcase: testcases/login_testcases.yml

-   name: 解决权限人员18200000003查看问题详情
    output:
        - sid
    api: api/question_api/questiondetail_api.yml
    extract:
        sid: content.data.question.solutions.0.id

-   name: 解决权限人员18200000003查看方案权限
    api: api/question_api/solutiondetails_api.yml
    validate:
        - eq:
              - content.data.solution.permission
              - 1