COM015_bid_open_status_2_testcase.yml 663 字节
config:
    name: 竞标任务状态验证-已发布,待领取

teststeps:

-   name: 竞标任务状态验证-待发布
    testcase: testcases/common/COM014_bid_update_status_1_testcase.yml

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

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