save_loot_update_0_delete_testcase.yml 647 字节
config:
    name: 19990000008保存抢单任务-删除任务

teststeps:

-   name: 登录系统
    variables:
        phone: ${ENV(wpftwphone)}
    testcase: testcases/m_login_testcases.yml

-   name: 保存任务
    output:
        - id
    api: api/m_api/loot/loot_update_0_api.yml
    extract:
        id: content.data.id
    varidate:
        validate:
          - eq:
              - content.msg
              - ok
          - eq:
              - content.data.id
              - $id
-   name: 删除任务
    api: api/m_api/task_delete_api.yml
    varidate:
        validate:
          - eq:
              - content.msg
              - ok