loot_task_confirm_testcase.yml 891 字节
config:
    name: 保存抢单任务-发布任务-确认领取人

teststeps:

-   name: 登录系统
    testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml

-   name: app端点击立即抢单
    testcase: testcases/task/task_rewards_taskDetails_testcase.yml

-   name: 确认领取人
    api: api/m_api/loot/loot_task_confirm_api.yml
#    variables:
#        id: ${get_task_id()}
    varidate:
        validate:
            -   eq:
                - content.msg
                - ok

-   name: 抢单任务详情
    output:
        - status
    api: api/m_api/loot/task_loot_detail_api.yml
    extract:
        status: content.data.status
#    variables:
#        id: ${get_task_id()}
    varidate:
        validate:
            -   eq:
                - content.msg
                - ok
            -   eq:
                - content.data.status
                - $status