QX006_bx_solution_permission.yml 822 字节
config:
    name: QX006:评分权限人员不能给自己提出的备选方案评分-权限校验1
#    #清理数据
#    teardown_hooks:
#        - ${teardown_hook_clean_db()}
#        - ${teardown_hook_sleep_N_secs($response,2)}

teststeps:

-   name: 评分权限人员18200000005查看问题-审核问题
    output:
        - qid
    testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml
    extract:
        qid: content.data.questions.0.id

-   name: 评分权限人员18200000005我来分析
    api: api/question_api/solution_api.yml
    extract:
        sid: content.data.solution.id

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