Commit 6936e28a authored by 龚小红's avatar 龚小红

更新流程组的字段更新需求

parent 48b7e62f
...@@ -410,17 +410,6 @@ public class Work implements Authorization { ...@@ -410,17 +410,6 @@ public class Work implements Authorization {
Assert.assertTrue(data,network.message(params,BasicConfig.WORK_edit,"修改客户基础信息失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_edit,"修改客户基础信息失败",response.body().asString()));
} }
@Test(description = "客户状态见面为已成单",priority = 38)
public void 客户状态见面为已成单(){
sleep(1000);
Response response = network.getResponse(BasicConfig.WORK_staticChart);
int toFacilitate = response.jsonPath().getInt("data[3].custNum");
int completedOrder = response.jsonPath().getInt("data[4].custNum");
int num = chart.get("toFacilitate");
Assert.assertEquals(toFacilitate, num,network.message(BasicConfig.WORK_staticChart,"待促成客户未减1",response.body().asString()));
Assert.assertEquals(completedOrder, chart.get("completedOrder")+1,network.message(BasicConfig.WORK_staticChart,"已成单客户未加1",response.body().asString()));
}
@Test(description = "查看客户动态",priority = 39) @Test(description = "查看客户动态",priority = 39)
public void 查看客户动态(){ public void 查看客户动态(){
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
......
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