Commit 6cc4255f authored by 龚小红's avatar 龚小红

增加上传KYC、上传方案、调整策略顺序的测试用例

parent e9facffa
...@@ -989,9 +989,10 @@ public class Work implements Authorization { ...@@ -989,9 +989,10 @@ public class Work implements Authorization {
public void 查询认领客户评价不清空(){ public void 查询认领客户评价不清空(){
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
params.put("custId", custId); params.put("custId", custId);
params.put("type", 1);
Response response = network.getResponse(params,BasicConfig.WORK_header); Response response = network.getResponse(params,BasicConfig.WORK_header);
Object followWeight = response.jsonPath().getJsonObject("data.followWeight"); int followWeight = response.jsonPath().getInt("data.followWeight");
Assert.assertNotNull(followWeight,network.message(params,BasicConfig.WORK_header,"客户权重未清空",response.body().asString())); Assert.assertEquals(followWeight,1,network.message(params,BasicConfig.WORK_header,"客户权重未清空",response.body().asString()));
} }
@Test(description = "管理员查看销售列表",priority = 72) @Test(description = "管理员查看销售列表",priority = 72)
...@@ -1477,6 +1478,16 @@ public class Work implements Authorization { ...@@ -1477,6 +1478,16 @@ public class Work implements Authorization {
takerCoefficient = leadertotalCoefficient; takerCoefficient = leadertotalCoefficient;
} }
@Test(description = "客户等级不互通",priority = 104)
public void 客户等级不互通() {
HashMap<String, Object> params = new HashMap<>();
params.put("custId", custId);
params.put("type", 1);
Response response = network.getResponse(params, BasicConfig.WORK_header);
Object followWeight = response.jsonPath().getString("data.followWeight");
Assert.assertNull(followWeight, network.message(params, BasicConfig.WORK_header, "分配销售后客户权重不为空", response.body().asString()));
}
@Test(description = "邀约完成任务",priority = 105) @Test(description = "邀约完成任务",priority = 105)
public void 邀约完成任务(){ public void 邀约完成任务(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment