Commit 7965fb6c authored by 张艳玲's avatar 张艳玲

准客户需求

parent d1db4f51
package com.kjj.cases.basics;
import com.kjj.utils.NetworkUtils;
import io.restassured.response.Response;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import static com.kjj.config.BasicConfig.*;
public class Novice {
private static final NetworkUtils network = NetworkUtils.getInstance();
@BeforeClass
public void setUp() {
}
//会员判断
@Test(description="会员判断",priority = 1)
public void 会员判断() throws IOException {
Response response = network.getResponse(isVipSubscribe);
boolean isVip = response.jsonPath().getBoolean("data.vip");
Assert.assertTrue(true, network.message(isVipSubscribe,"新手任务-会员判断错误",response.body().asString()));
}
//用户信息
@Test(description = "用户信息",priority = 2)
public void 用户信息()throws IOException{
Response response = network.getResponse(USER_INFO);
String wxName = response.jsonPath().getString("data.wxName");
Assert.assertEquals(wxName,"Su Yi",network.message(USER_INFO,"新手任务-获取用户信息失败",response.body().asString()));
}
//新手任务列表
@Test (description = "新手任务列表",priority = 3) //priorty 方法执行优先级
public void 新手任务列表() throws IOException {
Response response = network.getResponse(NOVICE_LIST);
System.out.println(response.getBody().prettyPrint());
int length = response.jsonPath().getInt("data.size()");
Assert.assertEquals(length,12,network.message(NOVICE_LIST,"新手任务-任务列表数量不对",response.body().asString()));
}
// 关注公众号 需要微信回调,无法实现
// @Test (description = "新手任务_关注公众号",priority = 4) //priorty 方法执行优先级
// public void 新手任务_关注公众号() throws IOException {
// //获取列表中"关注公众号"的任务
// Response response = network.getResponse("/kjy/mp/seller/novice/list");
//
// //获取任务名为"关注公众号"的任务状态 code: 0未完成 1可领奖励 2已完成
// int code = response.jsonPath().getInt("data.find {it.taskName == '关注公众号'}.taskStatus.code");
// Assert.assertEquals(code,0,"关注公众号-任务初始状态 获取失败");
//
// //关注导师微信号和关注客集集公众号(关注需要微信回调,无法实现)
//
// //重新获取任务名为"关注公众号"的任务状态,验证任务是否生效
//
// }
// 转发文章
@Test (description = "新手任务_转发文章",priority = 5) //priorty 方法执行优先级
public void 新手任务_转发文章() throws IOException {
//获取列表中"转发文章"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发文章"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '转发文章'}.taskStatus.code");
Assert.assertEquals(code,0,network.message(NOVICE_LIST,"转发文章-任务初始状态 获取失败",response.body().asString()));
//转发文章到朋友圈
Map<String, Object> params = new HashMap<String, Object>();
params.put("scId",getScId(ARTICLE_CONTENTID));//文章scId
params.put("forwardType",1);// 1:个人/微信群 2:朋友圈
response = network.getResponse(params,FORWARD);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(params, FORWARD,"转发文章-转发到朋友圈 失败",response.body().asString()));
//重新获取任务名为"转发文章"的任务状态,验证任务是否生效
response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发文章"的任务状态 code: 0未完成 1可领奖励 2已完成
code = response.jsonPath().getInt("data.find {it.taskName == '转发文章'}.taskStatus.code");
Assert.assertEquals(code,1,network.message(NOVICE_LIST,"转发文章-新手任务完成状态 获取失败",response.body().asString()));
}
// 转发动画
@Test (description = "新手任务_转发动画",priority = 6) //priorty 方法执行优先级
public void 新手任务_转发动画() throws IOException {
//获取列表中"转发动画"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发动画"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '转发动画'}.taskStatus.code");
Assert.assertEquals(code,0, network.message(NOVICE_LIST,"转发动画-任务初始状态 获取失败",response.body().asString()));
//转发动画到朋友圈
Map<String, Object> params = new HashMap<String, Object>();
params.put("scId",getScId(ANIMATION_CONTENTID));//动画scId
params.put("forwardType",2);// 1:个人/微信群 2:朋友圈
response = network.getResponse(params,FORWARD);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(params, FORWARD,"转发动画-转发到朋友圈 失败",response.body().asString()));
//重新获取任务名为"转发动画"的任务状态,验证任务是否生效
response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发动画"的任务状态 code: 0未完成 1可领奖励 2已完成
code = response.jsonPath().getInt("data.find {it.taskName == '转发动画'}.taskStatus.code");
Assert.assertEquals(code,1,network.message(NOVICE_LIST,"转发动画-新手任务完成状态 获取失败",response.body().asString()));
}
// 转发游戏
@Test (description = "新手任务_转发游戏",priority = 7) //priorty 方法执行优先级
public void 新手任务_转发游戏() throws IOException {
//获取列表中"转发游戏"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发游戏"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '转发游戏(内测中)'}.taskStatus.code");
Assert.assertEquals(code,0,network.message(NOVICE_LIST,"转发游戏-任务初始状态 获取失败",response.body().asString()));
//转发游戏到朋友圈
Map<String, Object> params = new HashMap<String, Object>();
params.put("scId",getScId(GAME_CONTENTID));//游戏scId
params.put("forwardType",2);// 1:个人/微信群 2:朋友圈
response = network.getResponse(params,FORWARD);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data,network.message(params,FORWARD,"转发游戏-转发到朋友圈 失败",response.body().asString()));
//重新获取任务名为"转发游戏"的任务状态,验证任务是否生效
response = network.getResponse(NOVICE_LIST);
//获取任务名为"转发游戏"的任务状态 code: 0未完成 1可领奖励 2已完成
code = response.jsonPath().getInt("data.find {it.taskName == '转发游戏(内测中)'}.taskStatus.code");
Assert.assertEquals(code,1,network.message(NOVICE_LIST,"转发游戏-新手任务完成状态 获取失败",response.body().asString()));
}
//上传文章
@Test (description = "新手任务_上传文章",priority = 8) //priorty 方法执行优先级
public void 新手任务_上传文章() throws IOException {
//获取列表中"上传文章"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"上传文章"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '上传文章'}.taskStatus.code");
Assert.assertEquals(code,0,network.message(NOVICE_LIST,"上传文章-任务初始状态 获取失败",response.body().asString()));
//上传文章并发到朋友圈 (文章已经在上传case执行过,所以找到那篇文章进行转发就好)
Map<String, Object> params = new HashMap<String, Object>();
params.put("pageIndex",1);
params.put("pageNo",1);
params.put("pageSize",10);
//获取我的上传里文章的列表
params.put("type","article");
response = network.getResponse(params,UPLOAD_LIST);
String contentType = response.jsonPath().getString("data[0].contentType");
String contentId = response.jsonPath().getString("data[0].id");//获取文章的contentd
Assert.assertEquals(contentType, "article", network.message(params, UPLOAD_LIST,"上传文章-获取我的上传-文章列表数量有误",response.body().asString()));
//转发文章到朋友圈
Map<String, Object> shareParams = new HashMap<String, Object>();
shareParams.put("scId",getScId(contentId));
shareParams.put("forwardType",2);
response = network.getResponse(shareParams,FORWARD);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data,network.message(shareParams, FORWARD,"上传文章-发到朋友圈 失败",response.body().asString()));
//重新获取任务名为"上传文章"的任务状态,验证任务是否生效
response = network.getResponse(NOVICE_LIST);
//获取任务名为"上传文章"的任务状态 code: 0未完成 1可领奖励 2已完成
code = response.jsonPath().getInt("data.find {it.taskName == '上传文章'}.taskStatus.code");
Assert.assertEquals(code,1,network.message(NOVICE_LIST,"上传文章-完成新手任务 失败",response.body().asString()));
}
//查看访问客户
@Test (description = "新手任务_查看访问客户",priority = 9) //priorty 方法执行优先级
public void 新手任务_查看访问客户() throws IOException {
//获取列表中"查看访问客户"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"查看访问客户"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '查看访问客户'}.taskStatus.code");
Assert.assertEquals(code,0,network.message(NOVICE_LIST,"获取新手任务初始状态-查看访问客户 失败",response.body().asString()));
//好友转发一篇我的素材
network.agentCookies.put("tku",VISITOR_TKU); //tku 切换为访客的
Map<String, Object> params = new HashMap<String, Object>();
params.put("scId",getScId(UPLOAD_CONTENTID));//文章scId
params.put("forwardType",2);// 1:个人/微信群 2:朋友圈
response = network.getResponse(params,FORWARD);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data,network.message(params,FORWARD,"查看访问客户-好友转发到朋友圈 失败",response.body().asString()));
network.agentCookies.put("tku",AGENT_TKU); //tku 切换为代理人的
//进入谁看过我,查看访客列表
Map<String, Object> whoSawMeParams = new HashMap<String, Object>();
whoSawMeParams.put("pageIndex",1);
whoSawMeParams.put("pageSize",30);
response = network.getResponse(whoSawMeParams, WHOSAWME_CUSTCLUELISTV2);
boolean hasnext = response.jsonPath().getBoolean("data.hasNext");
int length = response.jsonPath().getInt("data.list.size()");
Assert.assertNotEquals(0,network.message(whoSawMeParams, WHOSAWME_CUSTCLUELISTV2,"获取谁看过我列表成功",response.body().asString()));
//点击查看,进入线索详情页
Map<String, Object> noviceParams = new HashMap<String, Object>();
noviceParams.put("sceneCode","noviceTask_visitorsCustomerInfoComplete");
response = network.postResponse(noviceParams,NOVICE_MONGOLIANLAYERISPLAY);
String desc = response.jsonPath().getString("desc");
//重新获取任务名为"查看访问客户"的任务状态,验证任务是否生效
response = network.getResponse(NOVICE_LIST);
//获取任务名为"查看访问客户"的任务状态 code: 0未完成 1可领奖励 2已完成
code = response.jsonPath().getInt("data.find {it.taskName == '查看访问客户'}.taskStatus.code");
Assert.assertEquals(code,1, network.message(NOVICE_LIST,"查看访问客户-新手任务完成状态 获取失败",response.body().asString()));
}
//完善名片 名片改动,此处始终会处于未完成状态,待产品优化
@Test (description = "新手任务_完善名片",priority = 9) //priorty 方法执行优先级
public void 新手任务_完善名片() throws IOException {
//获取列表中"完善名片"的任务
Response response = network.getResponse(NOVICE_LIST);
//获取任务名为"完善名片"的任务状态 code: 0未完成 1可领奖励 2已完成
int code = response.jsonPath().getInt("data.find {it.taskName == '完善名片'}.taskStatus.code");
Assert.assertEquals(code,0, network.message(NOVICE_LIST,"获取新手任务初始状态-完善名片 失败",response.body().asString()));
//完善名片
//重新获取任务名为"完善名片"的任务状态,验证任务是否生效
}
//获取ScId
public String getScId (String contentId){
Map<String, Object> params = new HashMap<String, Object>();
params.put("contentId",contentId);
Response response = network.getResponse(params, GETSCID);
String scId = response.jsonPath().getString("data");
Assert.assertNotNull(scId,network.message(params, GETSCID,"获取scId失败",response.body().asString()));
return scId;
}
}
...@@ -22,8 +22,6 @@ import static com.kjj.config.BasicConfig.*; ...@@ -22,8 +22,6 @@ import static com.kjj.config.BasicConfig.*;
public class Agent implements Authorization { public class Agent implements Authorization {
@BeforeClass
public void setUp() { agentAuth(); }
public String id; public String id;
public String videoId; public String videoId;
public String videoTitle; public String videoTitle;
...@@ -35,14 +33,15 @@ public class Agent implements Authorization { ...@@ -35,14 +33,15 @@ public class Agent implements Authorization {
public String teamName; public String teamName;
public String sellerName; public String sellerName;
@BeforeClass
public void setUp() { agentAuth(); }
@Test(description="获取用户信息判断是否是代理人",priority = 1) @Test(description="获取用户信息判断是否是代理人",priority = 1)
public void 获取用户信息判断是否是代理人() { public void 获取用户信息判断是否是代理人() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
Response response = network.getResponse(params, BasicConfig.MOBILE_userInfo1); Response response = network.getResponse(params, BasicConfig.MOBILE_userInfo1);
Object data = response.jsonPath().getJsonObject("data"); System.out.println(response.body().asString());
System.out.println(data);
Object jobNumber = response.jsonPath().getJsonObject("data.jobNumber"); Object jobNumber = response.jsonPath().getJsonObject("data.jobNumber");
System.out.println(jobNumber);
Assert.assertNotNull(jobNumber, network.message(params, BasicConfig.MOBILE_userInfo1, "用户非代理人", response.body().asString())); Assert.assertNotNull(jobNumber, network.message(params, BasicConfig.MOBILE_userInfo1, "用户非代理人", response.body().asString()));
} }
...@@ -52,8 +51,8 @@ public class Agent implements Authorization { ...@@ -52,8 +51,8 @@ public class Agent implements Authorization {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("appid","wx4d7276f866bd24c8"); params.put("appid","wx4d7276f866bd24c8");
Response response = network.getResponse(params, BasicConfig.MOBILE_isForbidden); Response response = network.getResponse(params, BasicConfig.MOBILE_isForbidden);
System.out.println(response.body().asString());
Boolean data =response.jsonPath().getBoolean("data"); Boolean data =response.jsonPath().getBoolean("data");
System.out.println(data);
Assert.assertFalse(data, network.message(params, BasicConfig.MOBILE_isForbidden, "禁止分享", response.body().asString())); Assert.assertFalse(data, network.message(params, BasicConfig.MOBILE_isForbidden, "禁止分享", response.body().asString()));
} }
......
...@@ -13,78 +13,71 @@ import java.util.List; ...@@ -13,78 +13,71 @@ import java.util.List;
import java.util.Map; import java.util.Map;
public class Customer implements Authorization { public class Customer implements Authorization {
public String customerId;
public String lastLiveId;
public String id;
@BeforeClass @BeforeClass
public void setUp() { agentAuth(); } public void setUp() { agentAuth(); }
public String customerId; @Test(description = "客户数量统计", priority = 1)
@Test(description = "查询代理人客户列表_全部tab", priority = 1) public void 客户数量统计() {
public void 查询代理人客户列表_全部tab() { Response response = network.getResponse(BasicConfig.MOBILE_potentialCount);
Map<String, Object> Params = new HashMap<>();
Params.put("pageIndex",1);
Params.put("pageSize",10);
Response response = network.getResponse(Params, BasicConfig.MOBILE_customerList);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
Object list = response.jsonPath().getJsonObject("data.list"); int sumCount=response.jsonPath().getInt("data.sumCount");
Assert.assertNotNull(list, network.message(Params, BasicConfig.MOBILE_customerList, "未获取到中奖名单配置信息", response.body().asString())); Assert.assertTrue(sumCount>26, network.message(BasicConfig.MOBILE_potentialCount, "总客户数量不对", response.body().asString()));
List<CustomerList>lists= JsonUtil.parseResponseToPageBean(response,CustomerList.class); int lastLiveCount = response.jsonPath().getJsonObject("data.lastLiveCount");
customerId=lists.get(0).getCustomerId(); Assert.assertTrue(lastLiveCount>1, network.message(BasicConfig.MOBILE_potentialCount, "最近一场直播客户数量为null", response.body().asString()));
int potentialCount = response.jsonPath().getJsonObject("data.potentialCount");
Assert.assertTrue(potentialCount>1, network.message(BasicConfig.MOBILE_potentialCount, "准客户数量为null", response.body().asString()));
lastLiveId=response.jsonPath().getString("data.lastLiveId");
} }
@Test(description = "代理人最近一场直播客户列表", priority = 2)
@Test(description = "查询代理人客户列表_高价值", priority = 2) public void 代理人最近一场直播客户列表() {
public void 查询代理人客户列表_高价值() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("pageIndex",1); Params.put("pageIndex",1);
Params.put("pageSize",10); Params.put("pageSize",10);
Params.put("clueLevel",3); Params.put("lastLiveId",lastLiveId);
Response response = network.getResponse(Params, BasicConfig.MOBILE_customerList); Response response = network.getResponse(BasicConfig.MOBILE_lastLiveList);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
Object list = response.jsonPath().getJsonObject("data.list"); Object list=response.jsonPath().getJsonObject("data.list");
Assert.assertNotNull(list, network.message(Params, BasicConfig.MOBILE_customerList, "未获取到中奖名单配置信息", response.body().asString())); Assert.assertNotNull(list,network.message(BasicConfig.MOBILE_lastLiveList, "代理人最近一场直播客户列表为null", response.body().asString()));
} }
@Test(description = "准客户列表", priority = 3)
@Test(description = "查询代理人客户列表_中价值", priority = 3) public void 准客户列表() {
public void 查询代理人客户列表_中价值() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("pageIndex",1); Params.put("pageIndex",1);
Params.put("pageSize",10); Params.put("pageSize",10);
Params.put("clueLevel",2); Params.put("customerType",1);//0-普通客户,1-潜在客户
Response response = network.getResponse(Params, BasicConfig.MOBILE_customerList); Response response = network.getResponse(BasicConfig.MOBILE_customerList);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
Object list = response.jsonPath().getJsonObject("data.list"); Object list=response.jsonPath().getJsonObject("data.list");
Assert.assertNotNull(list, network.message(Params, BasicConfig.MOBILE_customerList, "未获取到中奖名单配置信息", response.body().asString())); Assert.assertNotNull(list,network.message(BasicConfig.MOBILE_customerList, "代理人最近一场直播客户列表为null", response.body().asString()));
} }
@Test(description = "查询代理人客户列表_普通价值", priority = 4)
public void 查询代理人客户列表_普通价值() {
@Test(description = "查询代理人客户列表_全部tab", priority = 4)
public void 查询代理人客户列表_全部tab() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("pageIndex",1); Params.put("pageIndex",1);
Params.put("pageSize",10); Params.put("pageSize",10);
Params.put("clueLevel",1);
Response response = network.getResponse(Params, BasicConfig.MOBILE_customerList); Response response = network.getResponse(Params, BasicConfig.MOBILE_customerList);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
Object list = response.jsonPath().getJsonObject("data.list"); Object list = response.jsonPath().getJsonObject("data.list");
Assert.assertNotNull(list, network.message(Params, BasicConfig.MOBILE_customerList, "未获取到中奖名单配置信息", response.body().asString())); Assert.assertNotNull(list, network.message(Params, BasicConfig.MOBILE_customerList, "未获取到中奖名单配置信息", response.body().asString()));
List<CustomerList>lists= JsonUtil.parseResponseToPageBean(response,CustomerList.class);
} customerId=lists.get(0).getCustomerId();
@Test(description = "查询代理人客户数量", priority = 5)
public void 查询代理人客户数量() {
Response response = network.getResponse(BasicConfig.MOBILE_count);
System.out.println(response.body().asString());
int customerNum=response.jsonPath().getInt("data.customerNum");
Assert.assertTrue(customerNum>26, network.message(BasicConfig.MOBILE_count, "总客户数量不对", response.body().asString()));
int lastOneNewNum = response.jsonPath().getJsonObject("data.lastOneNewNum");
Assert.assertTrue(lastOneNewNum>15, network.message(BasicConfig.MOBILE_count, "上场新增客户数量", response.body().asString()));
} }
@Test(description = "查询客户直播线索汇总信息", priority = 5)
@Test(description = "查询客户直播线索汇总信息", priority = 6)
public void 查询客户直播线索汇总信息() { public void 查询客户直播线索汇总信息() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("customerId",customerId); Params.put("customerId",customerId);
...@@ -98,77 +91,84 @@ public class Customer implements Authorization { ...@@ -98,77 +91,84 @@ public class Customer implements Authorization {
} }
@Test(description = "编辑客户基本信息", priority = 7) @Test(description = "编辑客户基本信息", priority = 6)
public void 编辑客户基本信息() { public void 编辑客户基本信息() {
Map<String, Object> genderParam = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
genderParam.put("customerId",customerId); Params.put("customerId",customerId);
genderParam.put("key",1); Params.put("key",1);
genderParam.put("value",1); Params.put("value",1);
Response response = network.postResponse(genderParam,BasicConfig.MOBILE_customerUpdate); Response response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data"); boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(BasicConfig.MOBILE_customerUpdate, "性别修改失败", response.body().asString())); Assert.assertTrue(data, network.message(BasicConfig.MOBILE_customerUpdate, "性别修改失败", response.body().asString()));
Map<String, Object> ageParam = new HashMap<>();
ageParam.put("customerId",customerId); Params.clear();
ageParam.put("key",2); Params.put("customerId",customerId);
ageParam.put("value",2); Params.put("key",2);
Response ageRes = network.postResponse(ageParam,BasicConfig.MOBILE_customerUpdate); Params.put("value",2);
System.out.println(ageRes.body().asString()); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
boolean data1=ageRes.jsonPath().getBoolean("data"); System.out.println(response.body().asString());
Assert.assertTrue(data1, network.message(BasicConfig.MOBILE_customerUpdate, "年龄修改失败", ageRes.body().asString())); boolean data1=response.jsonPath().getBoolean("data");
Map<String, Object> professionalParam = new HashMap<>(); Assert.assertTrue(data1, network.message(BasicConfig.MOBILE_customerUpdate, "年龄修改失败", response.body().asString()));
professionalParam.put("customerId",customerId);
professionalParam.put("key",3); Params.clear();
professionalParam.put("value","技术"); Params.put("customerId",customerId);
Response professionalRes = network.postResponse(professionalParam,BasicConfig.MOBILE_customerUpdate); Params.put("key",3);
System.out.println(professionalRes.body().asString()); Params.put("value","技术");
boolean data2=professionalRes.jsonPath().getBoolean("data"); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
Assert.assertTrue(data2, network.message(BasicConfig.MOBILE_customerUpdate, "职业修改失败", professionalRes.body().asString())); System.out.println(response.body().asString());
Map<String, Object> incomeParam = new HashMap<>(); boolean data2=response.jsonPath().getBoolean("data");
incomeParam.put("customerId",customerId); Assert.assertTrue(data2, network.message(BasicConfig.MOBILE_customerUpdate, "职业修改失败", response.body().asString()));
incomeParam.put("key",4);
incomeParam.put("value",2); Params.clear();
Response incomeRes = network.postResponse(incomeParam,BasicConfig.MOBILE_customerUpdate); Params.put("customerId",customerId);
System.out.println(incomeRes.body().asString()); Params.put("key",4);
boolean data3=incomeRes.jsonPath().getBoolean("data"); Params.put("value",2);
Assert.assertTrue(data3, network.message(BasicConfig.MOBILE_customerUpdate, "收入修改失败", incomeRes.body().asString())); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
Map<String, Object> addressParam = new HashMap<>(); System.out.println(response.body().asString());
addressParam.put("customerId",customerId); boolean data3=response.jsonPath().getBoolean("data");
addressParam.put("key",5); Assert.assertTrue(data3, network.message(BasicConfig.MOBILE_customerUpdate, "收入修改失败", response.body().asString()));
addressParam.put("value","");
Response addressRes = network.postResponse(addressParam,BasicConfig.MOBILE_customerUpdate); Params.clear();
System.out.println(addressRes.body().asString()); Params.put("customerId",customerId);
boolean data4=addressRes.jsonPath().getBoolean("data"); Params.put("key",5);
Assert.assertTrue(data4, network.message(BasicConfig.MOBILE_customerUpdate, "所在地址修改失败", addressRes.body().asString())); Params.put("value","");
Map<String, Object> hobbyParam = new HashMap<>(); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
hobbyParam.put("customerId",customerId); System.out.println(response.body().asString());
hobbyParam.put("key",6); boolean data4=response.jsonPath().getBoolean("data");
hobbyParam.put("value","打球"); Assert.assertTrue(data4, network.message(BasicConfig.MOBILE_customerUpdate, "所在地址修改失败", response.body().asString()));
Response hobbyRes = network.postResponse(hobbyParam,BasicConfig.MOBILE_customerUpdate);
System.out.println(hobbyRes.body().asString()); Params.clear();
boolean data5=hobbyRes.jsonPath().getBoolean("data"); Params.put("customerId",customerId);
Assert.assertTrue(data5, network.message(BasicConfig.MOBILE_customerUpdate, "爱好修改失败", hobbyRes.body().asString())); Params.put("key",6);
Map<String, Object> insuranceParam = new HashMap<>(); Params.put("value","打球");
insuranceParam.put("customerId",customerId); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
insuranceParam.put("key",7); System.out.println(response.body().asString());
insuranceParam.put("value",4); boolean data5=response.jsonPath().getBoolean("data");
Response insuranceRes = network.postResponse(insuranceParam,BasicConfig.MOBILE_customerUpdate); Assert.assertTrue(data5, network.message(BasicConfig.MOBILE_customerUpdate, "爱好修改失败", response.body().asString()));
System.out.println(insuranceRes.body().asString());
boolean data6=insuranceRes.jsonPath().getBoolean("data"); Params.clear();
Assert.assertTrue(data6, network.message(BasicConfig.MOBILE_customerUpdate, "保险意识强弱修改失败", hobbyRes.body().asString())); Params.put("customerId",customerId);
Map<String, Object> bartenderParam = new HashMap<>(); Params.put("key",7);
bartenderParam.put("customerId",customerId); Params.put("value",4);
bartenderParam.put("key",8); response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
bartenderParam.put("value",0); System.out.println(response.body().asString());
Response bartenderRes = network.postResponse(bartenderParam,BasicConfig.MOBILE_customerUpdate); boolean data6=response.jsonPath().getBoolean("data");
System.out.println(bartenderRes.body().asString()); Assert.assertTrue(data6, network.message(BasicConfig.MOBILE_customerUpdate, "保险意识强弱修改失败", response.body().asString()));
boolean data7=bartenderRes.jsonPath().getBoolean("data");
Assert.assertTrue(data7, network.message(BasicConfig.MOBILE_customerUpdate, "持保情况修改失败", hobbyRes.body().asString())); Params.clear();
Params.put("customerId",customerId);
Params.put("key",8);
Params.put("value",0);
response = network.postResponse(Params,BasicConfig.MOBILE_customerUpdate);
System.out.println(response.body().asString());
boolean data7=response.jsonPath().getBoolean("data");
Assert.assertTrue(data7, network.message(BasicConfig.MOBILE_customerUpdate, "持保情况修改失败", response.body().asString()));
} }
@Test(description = "查询客户基本信息", priority = 8) @Test(description = "查询客户基本信息", priority = 7)
public void 查询客户基本信息() { public void 查询客户基本信息() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("customerId",customerId); Params.put("customerId",customerId);
...@@ -179,7 +179,7 @@ public class Customer implements Authorization { ...@@ -179,7 +179,7 @@ public class Customer implements Authorization {
} }
@Test(description = "查询客户详情头像信息栏", priority = 9) @Test(description = "查询客户详情头像信息栏", priority = 8)
public void 查询客户详情头像信息栏() { public void 查询客户详情头像信息栏() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("customerId",customerId); Params.put("customerId",customerId);
...@@ -189,11 +189,12 @@ public class Customer implements Authorization { ...@@ -189,11 +189,12 @@ public class Customer implements Authorization {
Assert.assertEquals(nickName,"朱志勇", network.message(BasicConfig.MOBILE_customerDetail, "昵称不匹配", response.body().asString())); Assert.assertEquals(nickName,"朱志勇", network.message(BasicConfig.MOBILE_customerDetail, "昵称不匹配", response.body().asString()));
int clueLevel=response.jsonPath().getInt("data.clueLevel"); int clueLevel=response.jsonPath().getInt("data.clueLevel");
Assert.assertTrue(clueLevel==3, network.message(BasicConfig.MOBILE_customerDetail, "不是高价值线索", response.body().asString())); Assert.assertTrue(clueLevel==3, network.message(BasicConfig.MOBILE_customerDetail, "不是高价值线索", response.body().asString()));
int customerType=response.jsonPath().getInt("data.customerType");
Assert.assertTrue(customerType==1, network.message(BasicConfig.MOBILE_customerDetail, "不是准客户", response.body().asString()));
} }
@Test(description = "查询客户直播场次详情信息", priority = 10) @Test(description = "查询客户直播场次详情信息", priority = 9)
public void 查询客户直播场次详情信息() { public void 查询客户直播场次详情信息() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("customerId",customerId); Params.put("customerId",customerId);
...@@ -207,7 +208,7 @@ public class Customer implements Authorization { ...@@ -207,7 +208,7 @@ public class Customer implements Authorization {
} }
@Test(description = "修改客户备注名", priority = 11) @Test(description = "修改客户备注名", priority = 10)
public void 修改客户备注名() { public void 修改客户备注名() {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("liveUserId",customerId); Params.put("liveUserId",customerId);
...@@ -219,5 +220,44 @@ public class Customer implements Authorization { ...@@ -219,5 +220,44 @@ public class Customer implements Authorization {
} }
@Test(description = "跟进机会列表", priority = 11)
public void 跟进机会列表() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveVisitorId",customerId);
Params.put("pageIndex",1);
Params.put("pageSize",5);
Response response = network.getResponse(Params,BasicConfig.MOBILE_followChanceList);
System.out.println(response.body().asString());
id=response.jsonPath().getJsonObject("data.list[0].id");
Assert.assertNotNull(id, network.message(BasicConfig.MOBILE_followChanceList, "跟进机会列表为null", response.body().asString()));
}
@Test(description = "获取跟进机会回复建议", priority = 12)
public void 获取跟进机会回复建议() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveVisitorId",customerId);
Response response = network.getResponse(Params,BasicConfig.MOBILE_customerGetReplyAdvice);
System.out.println(response.body().asString());
int clueType=response.jsonPath().getInt("data.adviceMsgVos[0].replyMsgList[0].clueType");
Assert.assertTrue(clueType==5, network.message(BasicConfig.MOBILE_customerGetReplyAdvice, "回复建议为null", response.body().asString()));
}
@Test(description = "跟进机会详情", priority = 12)
public void 跟进机会详情() {
Map<String, Object> Params = new HashMap<>();
Params.put("id",id);
Response response = network.getResponse(Params,BasicConfig.MOBILE_followChanceDetail);
System.out.println(response.body().asString());
int chanceType=response.jsonPath().getInt("data.chanceType");
Assert.assertTrue(chanceType==1, network.message(BasicConfig.MOBILE_followChanceDetail, "跟进类型非咨询", response.body().asString()));
String question=response.jsonPath().getString("data.question");
Assert.assertEquals(question,"咨询问题一",network.message(BasicConfig.MOBILE_followChanceDetail, "咨询问题为null", response.body().asString()));
}
} }
...@@ -17,11 +17,11 @@ import java.util.List; ...@@ -17,11 +17,11 @@ import java.util.List;
import java.util.Map; import java.util.Map;
public class LiveLater implements Authorization { public class LiveLater implements Authorization {
public String pageSize;
public List<LiveUserList> liveUserId;
@BeforeClass @BeforeClass
public void setUp() { agentAuth(); } public void setUp() { agentAuth(); }
public String pageSize;
public List<LiveUserList> liveUserId;
//获取回收成功案例 //获取回收成功案例
......
package com.kjj.cases.live.agent;
import com.kjj.cases.admin.Authorization;
import com.kjj.config.BasicConfig;
import com.kjj.constants.LiveConstants;
import com.kjj.utils.ThreadSleepUtils;
import io.restassured.response.Response;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.util.HashMap;
import java.util.Map;
public class Potential implements Authorization {
public String bizConfId;
@BeforeClass
public void setUp() { visitorAuth(); }
@Test(description = "直播间名片", priority =1)
public void 直播间名片() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.ANCHOR_card);
System.out.println(response.body().asString());
Object data = response.jsonPath().getJsonObject("data");
Assert.assertNotNull(data, network.message(Params, BasicConfig.ANCHOR_card, "未获取直播间名片信息", response.body().asString()));
}
@Test(description = "获取推送问题咨询", priority =2)
public void 获取推送问题() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.ANCHOR_questions);
System.out.println(response.body().asString());
bizConfId=response.jsonPath().getString("data[0].id");
Assert.assertNotNull(bizConfId, network.message(Params, BasicConfig.ANCHOR_questions, "为获取到问题ID", response.body().asString()));
}
@Test(description = "潜在客户提交咨询信息", priority =3)
public void 潜在客户提交信息() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("bizConfId",bizConfId);
Params.put("chanceType",1);
Response response = network.postResponse(Params, BasicConfig.ANCHOR_submit);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(Params, BasicConfig.ANCHOR_submit, "客户提交信息失败", response.body().asString()));
}
@Test(description = "潜在客户标记同意", priority =4)
public void 潜在客户标记同意() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("bizConfId",bizConfId);
Params.put("chanceType",1);
Params.put("agreeFlag",true);
Response response = network.postResponse(Params, BasicConfig.ANCHOR_agree);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(Params, BasicConfig.ANCHOR_agree, "客户未标记同意", response.body().asString()));
}
@Test(description = "获取访客已提交的问题", priority =5)
public void 获取访客已提交的问题() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.ANCHOR_questionSubmitted);
System.out.println(response.body().asString());
String id=response.jsonPath().getString("data.id");
Assert.assertEquals(id,bizConfId, network.message(Params, BasicConfig.ANCHOR_questionSubmitted, "访客已提交的问题为null", response.body().asString()));
}
@Test(description = "获取访客跟进机会同意状态", priority =6)
public void 获取访客跟进机会同意状态() {
ThreadSleepUtils.sleep(1000);
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("chanceType",1);
Params.put("bizConfId",bizConfId);
Response response = network.getResponse(Params, BasicConfig.ANCHOR_agreeStatus);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(Params, BasicConfig.ANCHOR_agreeStatus, "客跟进机会同意状态为false", response.body().asString()));
}
@Test(description = "获取对话模版oss地址", priority =7)
public void 获取对话模版oss地址() {
Response response = network.getResponse(BasicConfig.ANCHOR_ossDialogue);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertNotNull(data, network.message(BasicConfig.ANCHOR_ossDialogue, "未获取到对话模版oss地址", response.body().asString()));
}
}
...@@ -19,7 +19,6 @@ import java.util.Map; ...@@ -19,7 +19,6 @@ import java.util.Map;
public class LiveVisitors implements Authorization public class LiveVisitors implements Authorization
{ {
public String confId_imageText; public String confId_imageText;
public String confId_form; public String confId_form;
public String confId_link; public String confId_link;
...@@ -28,8 +27,6 @@ public class LiveVisitors implements Authorization ...@@ -28,8 +27,6 @@ public class LiveVisitors implements Authorization
public String id; public String id;
public List<ResourcePushList>PushList; public List<ResourcePushList>PushList;
/*助播端端权益列表*/ /*助播端端权益列表*/
@Test(description = "助播端权益列表", priority = 1) @Test(description = "助播端权益列表", priority = 1)
public void 助播端权益列表() public void 助播端权益列表()
...@@ -251,9 +248,6 @@ public class LiveVisitors implements Authorization ...@@ -251,9 +248,6 @@ public class LiveVisitors implements Authorization
Assert.assertTrue(data,network.message(params,BasicConfig.MOBILE_ResourceTestSubmit,"提交秒薪测试失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.MOBILE_ResourceTestSubmit,"提交秒薪测试失败",response.body().asString()));
} }
//********************代理人*************//
//********************代理人*************//
//********************代理人*************//
/*代理人端权益列表查询*/ /*代理人端权益列表查询*/
@Test(description = "代理人端权益列表查询", priority = 14) @Test(description = "代理人端权益列表查询", priority = 14)
public void 代理人端权益列表查询() public void 代理人端权益列表查询()
...@@ -418,6 +412,7 @@ public class LiveVisitors implements Authorization ...@@ -418,6 +412,7 @@ public class LiveVisitors implements Authorization
public void 获取推送列表() public void 获取推送列表()
{ {
adminAuth(); adminAuth();
ThreadSleepUtils.sleep(1000);
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
params.put("confId", this.PushList.get(5).getConfId()); params.put("confId", this.PushList.get(5).getConfId());
...@@ -454,9 +449,37 @@ public class LiveVisitors implements Authorization ...@@ -454,9 +449,37 @@ public class LiveVisitors implements Authorization
Assert.assertTrue(data, network.message(params, BasicConfig.MOBILE_pasterOff, "贴片下架失败", response.body().asString())); Assert.assertTrue(data, network.message(params, BasicConfig.MOBILE_pasterOff, "贴片下架失败", response.body().asString()));
} }
/**
* 资料-我要咨询
*/
@Test(description = "资料咨询时客户标记同意", priority =28)
public void 资料咨询时客户标记同意() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("bizConfId",confId_link);
Params.put("chanceType",2);
Params.put("agreeFlag",true);
Response response = network.postResponse(Params, BasicConfig.ANCHOR_agree);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(Params, BasicConfig.ANCHOR_agree, "客户未标记同意", response.body().asString()));
}
@Test(description = "获取访客跟进机会同意状态", priority =29)
public void 获取访客跟进机会同意状态() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("chanceType",2);
Params.put("bizConfId",confId_link);
Response response = network.getResponse(Params, BasicConfig.ANCHOR_agreeStatus);
System.out.println(response.body().asString());
boolean data=response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(Params, BasicConfig.ANCHOR_agreeStatus, "客跟进机会同意状态为false", response.body().asString()));
}
} }
...@@ -164,7 +164,7 @@ public class FlipCard implements Authorization { ...@@ -164,7 +164,7 @@ public class FlipCard implements Authorization {
params.put("shareType",2); params.put("shareType",2);
Response signRes = network.getResponse(params, BasicConfig.MOBILE_sign); Response signRes = network.getResponse(params, BasicConfig.MOBILE_sign);
String data = signRes.jsonPath().getString("data"); String data = signRes.jsonPath().getString("data");
this.shareSign = data; shareSign = data;
System.out.println(shareSign); System.out.println(shareSign);
Assert.assertNotNull(shareSign, network.message(params, BasicConfig.MOBILE_sign, "分享失败", signRes.body().asString())); Assert.assertNotNull(shareSign, network.message(params, BasicConfig.MOBILE_sign, "分享失败", signRes.body().asString()));
......
...@@ -97,6 +97,15 @@ public class BasicConfig { ...@@ -97,6 +97,15 @@ public class BasicConfig {
public static final String ANCHOR_getConfDetail = MOBILE_HOST + "/conf/pre/getConfDetail"; public static final String ANCHOR_getConfDetail = MOBILE_HOST + "/conf/pre/getConfDetail";
public static final String ANCHOR_CLOSE = MOBILE_HOST + "/conf/live/close"; public static final String ANCHOR_CLOSE = MOBILE_HOST + "/conf/live/close";
// *************** 准客户 ***************
public static final String ANCHOR_card = MOBILE_HOST + "/clue/agent/card";
public static final String ANCHOR_questions = MOBILE_HOST + "/kjy/live/agent/potential/questions";
public static final String ANCHOR_submit = MOBILE_HOST + "/kjy/live/agent/potential/submit";
public static final String ANCHOR_agree = MOBILE_HOST + "/kjy/live/agent/potential/agree";
public static final String ANCHOR_questionSubmitted = MOBILE_HOST + "/kjy/live/agent/potential/questionSubmitted";
public static final String ANCHOR_agreeStatus = MOBILE_HOST + "/kjy/live/agent/potential/agreeStatus";
public static final String ANCHOR_ossDialogue = MOBILE_HOST + "/kjy/live/agent/potential/ossDialogue";
// *************** 预告页配置 *************** // *************** 预告页配置 ***************
public static final String MANAGER_preViewWelfareList = MANAGER_HOST + "/kjy/manager/preView/conf/welfareList"; public static final String MANAGER_preViewWelfareList = MANAGER_HOST + "/kjy/manager/preView/conf/welfareList";
public static final String MANAGER_confMainWelfare = MANAGER_HOST + "/kjy/manager/preView/conf/confMainWelfare"; public static final String MANAGER_confMainWelfare = MANAGER_HOST + "/kjy/manager/preView/conf/confMainWelfare";
...@@ -360,15 +369,17 @@ public class BasicConfig { ...@@ -360,15 +369,17 @@ public class BasicConfig {
//客户管理 //客户管理
public static final String MOBILE_potentialCount = MOBILE_HOST + "/kjy/live/agent/customer/potentialCount";
public static final String MOBILE_customerList = MOBILE_HOST + "/kjy/live/agent/customer/list"; public static final String MOBILE_customerList = MOBILE_HOST + "/kjy/live/agent/customer/list";
public static final String MOBILE_count = MOBILE_HOST + "/kjy/live/agent/customer/count"; public static final String MOBILE_lastLiveList = MOBILE_HOST + "/kjy/live/agent/customer/lastLiveList";
public static final String MOBILE_basicInfo = MOBILE_HOST + "/kjy/live/agent/customer/basicInfo"; public static final String MOBILE_basicInfo = MOBILE_HOST + "/kjy/live/agent/customer/basicInfo";
public static final String MOBILE_clueInfo = MOBILE_HOST + "/kjy/live/agent/customer/clueInfo"; public static final String MOBILE_clueInfo = MOBILE_HOST + "/kjy/live/agent/customer/clueInfo";
public static final String MOBILE_customerUpdate = MOBILE_HOST + "/kjy/live/agent/customer/update"; public static final String MOBILE_customerUpdate = MOBILE_HOST + "/kjy/live/agent/customer/update";
public static final String MOBILE_customerDetail = MOBILE_HOST + "/kjy/live/agent/customer/detail"; public static final String MOBILE_customerDetail = MOBILE_HOST + "/kjy/live/agent/customer/detail";
public static final String MOBILE_liveInfo = MOBILE_HOST + "/kjy/live/agent/customer/liveInfo"; public static final String MOBILE_liveInfo = MOBILE_HOST + "/kjy/live/agent/customer/liveInfo";
// public static final String MOBILE_updateRemarkName = MOBILE_HOST + "/kjy/live/agent/customer/updateRemarkName"; public static final String MOBILE_followChanceList = MOBILE_HOST + "/kjy/live/agent/customer/followChanceList";
public static final String MOBILE_customerGetReplyAdvice = MOBILE_HOST + "/kjy/live/agent/customer/getReplyAdvice";
public static final String MOBILE_followChanceDetail = MOBILE_HOST + "/kjy/live/agent/customer/followChanceDetail";
// *************** 代理人 *************** // *************** 代理人 ***************
public static final String MOBILE_recycleSuccessCase = MOBILE_HOST + "/kjy/live/agent/clue/recycleSuccessCase"; public static final String MOBILE_recycleSuccessCase = MOBILE_HOST + "/kjy/live/agent/clue/recycleSuccessCase";
public static final String MOBILE_providerInfo = MOBILE_HOST + "/kjy/live/agent/clue/providerInfo"; public static final String MOBILE_providerInfo = MOBILE_HOST + "/kjy/live/agent/clue/providerInfo";
......
...@@ -125,6 +125,11 @@ ...@@ -125,6 +125,11 @@
<class name="com.kjj.cases.live.FreeReward.FreeReward"/> <class name="com.kjj.cases.live.FreeReward.FreeReward"/>
</classes> </classes>
</test> </test>
<test preserve-order="true" name="我要咨询">
<classes>
<class name="com.kjj.cases.live.agent.Potential"/>
</classes>
</test>
<test preserve-order="true" name="访客领取资料"> <test preserve-order="true" name="访客领取资料">
<classes> <classes>
......
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