order_list_testcases.yml 547 字节
config:
    name: 实发订单列表
    base_url: ${ENV(base_manager_url)}
    variables:
        phone: ${get_partner_account_from_database()}
        total: ${get_total_from_database()}
        msg: 成功
    teardown_hooks:
        - ${sleep(2)}

teststeps:
-   name: $phone 登录系统
    testcase: testcases/login_testcases.yml

-   name: $phone 实发订单列表
    api:  api/app_api/order/list_api.yml
    validate:
        - eq:
          - content.msg
          - $msg
        - eq:
          - content.data.total
          - $total