Commit 7afafbb8 authored by 龚小红's avatar 龚小红

增加OTO销售工作台移动端1.1的测试用例

parent 8072345b
...@@ -608,33 +608,33 @@ public class Phone implements Authorization { ...@@ -608,33 +608,33 @@ public class Phone implements Authorization {
// @Test(description = "删除客户",priority = 79) @Test(description = "删除客户",priority = 79)
// public void 删除客户(){ public void 删除客户(){
// HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
// params.put("custId", IdMakeUtil.decodingId(cust_id)); params.put("custId", IdMakeUtil.decodingId(cust_id));
// Response response = network.postResponse(params,BasicConfig.WORK_delCust); Response response = network.postResponse(params,BasicConfig.WORK_delCust);
// boolean data = response.jsonPath().getBoolean("data"); boolean data = response.jsonPath().getBoolean("data");
// Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString()));
//
// params.put("custId", IdMakeUtil.decodingId(introduceCustomer_id)); params.put("custId", IdMakeUtil.decodingId(introduceCustomer_id));
// response = network.postResponse(params,BasicConfig.WORK_delCust); response = network.postResponse(params,BasicConfig.WORK_delCust);
// data = response.jsonPath().getBoolean("data"); data = response.jsonPath().getBoolean("data");
// Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString()));
//
// params.put("custId", IdMakeUtil.decodingId(myselfCustomer_id)); params.put("custId", IdMakeUtil.decodingId(myselfCustomer_id));
// response = network.postResponse(params,BasicConfig.WORK_delCust); response = network.postResponse(params,BasicConfig.WORK_delCust);
// data = response.jsonPath().getBoolean("data"); data = response.jsonPath().getBoolean("data");
// Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delCust,"删除客户失败",response.body().asString()));
// } }
//
// @Test(description = "删除客户填写的表单记录",priority = 80) @Test(description = "删除客户填写的表单记录",priority = 80)
// public void 删除客户填写的表单记录(){ public void 删除客户填写的表单记录(){
// HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
// params.put("phoneNum", "17830855590"); params.put("phoneNum", "17830855590");
// Response response = network.postResponse(params,BasicConfig.WORK_delPubFormRecord); Response response = network.postResponse(params,BasicConfig.WORK_delPubFormRecord);
// boolean data = response.jsonPath().getBoolean("data"); boolean data = response.jsonPath().getBoolean("data");
// Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delPubFormRecord,"删除客户表单记录失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_delPubFormRecord,"删除客户表单记录失败",response.body().asString()));
// } }
@Test(description = "退出登录",priority = 81) @Test(description = "退出登录",priority = 81)
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