DIV009_dividends_editnum_testcases.yml 753 字节
config:
    name: DIV009-分红管理-自建订单调整分红比例,系统提示‘操作失败’
    base_url: ${ENV(base_manager_url)}

teststeps:
-   name: 新增实际订单
    testcase: testcases/common/COM001_actual_add_testcases.yml
    output:
      - actual_id
      - product_id_1
      - product_id_2

-   name: 编辑分红-自建订单,调整分红比例
    variables:
        goodNumber: 100
        orderId: ${convert_to_string($actual_id)}
        state: 2
        partnerBonusPercent: 20
        reason: '修改原因${get_stringcode(5)}'
        productId: ${convert_to_string($product_id_1)}
    api: api/m_api/dividends/m_dividends_modify_api.yml
    validate:
        - eq:
          - content.msg
          - '操作失败'