COM022_appoint_open_status_3_testcase.yml 687 字节
config:
    name: 指派任务状态验证-已发布,进行中

teststeps:

-   name: 指派任务状态验证-待发布
    testcase: testcases/common/COM021_appoint_update_status_1_testcase.yml

-   name: 发布任务
    api: api/m_api/appoint/appoint_open_api.yml
    varidate:
        validate:
          - eq:
            - content.msg
            - ok

-   name: 查看详情
    api: api/m_api/appoint/appoint_detail_api.yml
    variables:
      status: ${get_appoint_task_status_3_from_database()}
      msg: ok
    varidate:
        validate:
          - eq:
            - content.msg
            - $msg
          - eq:
            - content.data.status
            - $status