作者 dengyuting

fix

... ... @@ -22,8 +22,8 @@ teststeps:
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- ${convert_to_string($actual_id)}
- content.data.order.orderId
- $actual_id
#####合伙人应收分红总额
- eq:
- content.data.order.partnerDividends
... ... @@ -39,34 +39,34 @@ teststeps:
#####合伙人分红支出总额
- eq:
- content.data.order.dividendSpending
- 0
- ${convert_to_string(0)}
#####订单类型
- eq:
- content.data.order.orderType
- 1
#####产品1总金额
- eq:
- content.data.product.0.detail.commodityPrice
- content.data.product.detail.0.commodityPrice
- ${convert_to_string(1500)}
#####产品1应收分红
- eq:
- content.data.product.0.detail.partnerDividends
- content.data.product.detail.0.partnerDividends
- ${cal_Ratio($partnerRatio, $univalence, $orderNum1)}
#####产品1分红状态
- eq:
- content.data.product.0.paymentStatus
- content.data.product.detail.0.paymentStatus
- 1
#####产品2总金额
- eq:
- content.data.product.1.detail.commodityPrice
- content.data.product.detail.1.commodityPrice
- ${convert_to_string(3000)}
#####产品2应收分红
- eq:
- content.data.product.1.detail.partnerDividends
- content.data.product.detail.1.partnerDividends
- ${cal_Ratio($partnerRatio, $univalence, $orderNum2)}
#####产品2分红状态
- eq:
- content.data.product.1.stateOfPayment
- content.data.product.detail.1.paymentStatus
- 1
#####订单总数量
- eq:
... ...
... ... @@ -53,7 +53,7 @@ teststeps:
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- content.data.order.orderId
- ${convert_to_string($actual_id)}
#####合伙人未收分红总额
- eq:
... ... @@ -157,7 +157,7 @@ teststeps:
- 1500
- eq:
- content.data.product.0.quantityControl
- $goodNumber
- ${convert_to_string($goodNumber)}
- eq:
- content.data.product.0.priceControl
- ${convert_to_string(750)}
... ...
... ... @@ -48,7 +48,7 @@ teststeps:
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- content.data.order.orderId
- ${convert_to_string($actual_id)}
#####合伙人应收分红总额
- eq:
... ...
... ... @@ -57,7 +57,7 @@ teststeps:
- ${convert_to_string(300)}
#####分红支出
- eq:
- content.data.gridResult.lists.0.uncollectedDividends
- content.data.gridResult.lists.0.dividendSpending
- ${convert_to_string(75)}
... ...
... ... @@ -12,23 +12,23 @@ testcases:
#- name: DIV002-分红列表-数据源不来自于意向订单
# testcase: testcases/dividends/DIV002_dividendslist_testcases.yml
- name: DIV003-分红管理-初始状态-各个值计算正确(旧接口)
testcase: testcases/dividends/DIV003_dividends_cal_testcases.yml
#- name: DIV003-分红管理-初始状态-各个值计算正确(旧接口)
# testcase: testcases/dividends/DIV003_dividends_cal_testcases.yml
- name: DIV003_1-分红管理-初始状态-各个值计算正确
testcase: testcases/dividends/DIV003_1_dividends_cal_testcases.yml
- name: DIV004-分红管理-调整数量由100改为50-各个值计算正确(旧接口)
testcase: testcases/dividends/DIV004_dividends_editnum_testcases.yml
#- name: DIV004-分红管理-调整数量由100改为50-各个值计算正确(旧接口)
# testcase: testcases/dividends/DIV004_dividends_editnum_testcases.yml
- name: DIV004_1-分红管理-调整数量由100改为50-各个值计算正确
testcase: testcases/dividends/DIV004_1_dividends_editnum_testcases.yml
- name: DIV005-分红管理-调整数量由100改为50-更改支付状态-各个值计算正确(旧接口)
testcase: testcases/dividends/DIV005_dividends_edit_num_pay_testcases.yml
#- name: DIV005-分红管理-调整数量由100改为50-更改支付状态-各个值计算正确(旧接口)
# testcase: testcases/dividends/DIV005_dividends_edit_num_pay_testcases.yml
- name: DIV006-分红管理-已支付订单数量减少(旧接口)
testcase: testcases/dividends/DIV006_dividends_edit_num_testcases.yml
#- name: DIV006-分红管理-已支付订单数量减少(旧接口)
# testcase: testcases/dividends/DIV006_dividends_edit_num_testcases.yml
- name: DIV007-分红管理-产品1支付分红成功,数据正确
testcase: testcases/dividends/DIV007_dividends_payDividends_testcases.yml
... ...