Commit ee1ba3cb authored by 张艳玲's avatar 张艳玲

更新删除接口

parent da66bcf8
package com.kjj.cases.basics.card;
package com.kjj.cases.assistant.card;
import static com.kjj.config.BasicConfig.*;
import static com.kjj.utils.ThreadSleepUtils.sleep;
......
package com.kjj.cases.basics.card;
package com.kjj.cases.assistant.card;
import com.kjj.bean.card.GoodMajor;
import com.kjj.bean.card.WechatCard;
......
......@@ -78,7 +78,7 @@ public class Customer implements Authorization {
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>17, network.message(BasicConfig.MOBILE_count, "上场新增客户数量", response.body().asString()));
Assert.assertTrue(lastOneNewNum>15, network.message(BasicConfig.MOBILE_count, "上场新增客户数量", response.body().asString()));
}
......
......@@ -1408,24 +1408,23 @@ public class SaveLive implements Authorization {
}
/**
* 翻牌活动配置
* 翻牌集字活动配置
*/
// @Test(description = "保存翻牌配置", priority = 69)
// public void 保存翻牌配置() {
// Map<String, Object> Params = new HashMap<>();
// Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
// Params.put("withdrawalAmount", 100);
// Params.put("withdrawalCondition", 1);
// Params.put("withdrawalNum", 1);
// Params.put("invitePresentNum", 1);
// Params.put("initPresentNum", 10);
// Params.put("imgUrl", "https://yun.dui88.com/kjy/image/20210608/1623132676884.jpg");
// Params.put("secondImgUrl", "https://yun.dui88.com/kjy/image/20210608/1623132676884.jpg");
// Response response = network.postResponse(Params, BasicConfig.MANAGER_card);
// Params.put("showAmount", 100);
// Params.put("personalShowAmount",1);
// Params.put("inviteNum",1);
// Params.put("invitePresentNum",1);
// Params.put("amount", 1);
// Params.put("num", 1);
// Response response = network.postResponse(Params, BasicConfig.MANAGER_flipWord);
// boolean data = response.jsonPath().getBoolean("data");
// System.out.println(data);
// Assert.assertTrue(data, network.message(Params, BasicConfig.MANAGER_card, "保存翻牌配置失败", response.body().asString()));
// Assert.assertTrue(data, network.message(Params, BasicConfig.MANAGER_flipWord, "保存翻牌配置失败", response.body().asString()));
//
// }
//
......@@ -1433,10 +1432,10 @@ public class SaveLive implements Authorization {
// public void 查看直播翻牌配置详情() {
// Map<String, Object> Params = new HashMap<>();
// Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
// Response response = network.getResponse(Params, BasicConfig.MANAGER_cardDetail);
// Response response = network.getResponse(Params, BasicConfig.MANAGER_wordDetail);
// Object data = response.jsonPath().getJsonObject("data");
// System.out.println(data);
// Assert.assertNotNull(data, network.message(Params, BasicConfig.MANAGER_cardDetail, "查看直播翻牌配置详情失败", response.body().asString()));
// Assert.assertNotNull(data, network.message(Params, BasicConfig.MANAGER_wordDetail, "查看直播翻牌配置详情失败", response.body().asString()));
//
// }
//
......@@ -1446,10 +1445,10 @@ public class SaveLive implements Authorization {
// Map<String, Object> Params = new HashMap<>();
// Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
// Params.put("confStatus", 1);
// Response response = network.postResponse(Params, BasicConfig.MANAGER_switch);
// Response response = network.postResponse(Params, BasicConfig.MANAGER_wordSwitchStatus);
// boolean data = response.jsonPath().getBoolean("data");
// System.out.println(data);
// Assert.assertTrue(data, network.message(Params, BasicConfig.MANAGER_switch, "开启翻牌配置失败", response.body().asString()));
// Assert.assertTrue(data, network.message(Params, BasicConfig.MANAGER_wordSwitchStatus, "开启翻牌配置失败", response.body().asString()));
//
// }
//
......@@ -1458,13 +1457,13 @@ public class SaveLive implements Authorization {
// Map<String, Object> Params = new HashMap<>();
// Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
// Response response = network.getResponse(Params, BasicConfig.MANAGER_getConfDetail);
// boolean cardConfBuildStatus = response.jsonPath().getBoolean("data.cardConfBuildStatus");
// System.out.println(cardConfBuildStatus);
// Assert.assertTrue(cardConfBuildStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置翻牌", response.body().asString()));
// boolean flipWordConfBuildStatus = response.jsonPath().getBoolean("data.flipWordConfBuildStatus");
// System.out.println(flipWordConfBuildStatus);
// Assert.assertTrue(flipWordConfBuildStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置翻牌", response.body().asString()));
//
// boolean cardConfStatus = response.jsonPath().getBoolean("data.cardConfStatus");
// System.out.println(cardConfStatus);
// Assert.assertTrue(cardConfStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启翻牌", response.body().asString()));
// boolean flipWordConfStatus = response.jsonPath().getBoolean("data.flipWordConfStatus");
// System.out.println(flipWordConfStatus);
// Assert.assertTrue(flipWordConfStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启翻牌", response.body().asString()));
//
//
// }
......@@ -1749,6 +1748,7 @@ public class SaveLive implements Authorization {
Assert.assertTrue(data, network.message(Params, BasicConfig.MANAGER_redSwitchStatus, "开启攒现金红包配置失败", response.body().asString()));
}
/**
* 闯关答题
*/
......@@ -2012,11 +2012,27 @@ public class SaveLive implements Authorization {
}
@Test(description = "查看直播好运配置状态", priority = 108)
public void 查看直播好运配置状态() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.MANAGER_getConfDetail);
boolean configFortune = response.jsonPath().getBoolean("data.configFortune");
System.out.println(configFortune);
Assert.assertTrue(configFortune, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置好运红包", response.body().asString()));
boolean fortuneConfBuildStatus = response.jsonPath().getBoolean("data.fortuneConfBuildStatus");
System.out.println(fortuneConfBuildStatus);
Assert.assertTrue(fortuneConfBuildStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启好运红包配置", response.body().asString()));
}
/**
* 直播预告页弹窗
*/
@Test(description = "直播预告页弹窗配置", priority = 108)
@Test(description = "直播预告页弹窗配置", priority = 109)
public void 直播预告页弹窗配置() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
......@@ -2031,7 +2047,7 @@ public class SaveLive implements Authorization {
}
@Test(description = "预告页弹窗详情", priority = 109)
@Test(description = "预告页弹窗详情", priority = 110)
public void 预告页弹窗详情() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
......@@ -2042,7 +2058,7 @@ public class SaveLive implements Authorization {
}
@Test(description = "开启预告页弹窗", priority = 110)
@Test(description = "开启预告页弹窗", priority = 111)
public void 开启预告页弹窗() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
......@@ -2054,7 +2070,25 @@ public class SaveLive implements Authorization {
}
@Test(description = "查看直播预告页弹窗配置状态", priority = 112)
public void 查看直播预告页弹窗配置状态() {
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.MANAGER_getConfDetail);
boolean preLayerConfStatus = response.jsonPath().getBoolean("data.preLayerConfStatus");
System.out.println(preLayerConfStatus);
Assert.assertTrue(preLayerConfStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置预告页弹窗", response.body().asString()));
boolean preLayerOpenStatus = response.jsonPath().getBoolean("data.preLayerOpenStatus");
System.out.println(preLayerOpenStatus);
Assert.assertTrue(preLayerOpenStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启预告页弹窗", response.body().asString()));
}
}
......@@ -259,9 +259,6 @@ public class Lottery implements Authorization {
submitInfoParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
submitInfoParam.put("confId", this.List_ConfId.get(0).getWelfareConfId());
submitInfoParam.put("winnerName", "中奖姓名XX");
// submitInfoParam.put("region", "");
// submitInfoParam.put("location", "");
// submitInfoParam.put("phoneNum", "");
Response submitInfoRes = network.postResponse(submitInfoParam, BasicConfig.USER_submitInfo);
Boolean result = submitInfoRes.jsonPath().getBoolean("success");
System.out.println(result);
......@@ -269,24 +266,9 @@ public class Lottery implements Authorization {
ThreadSleepUtils.sleep(3000);
}
@Test(description = "访客A中奖任务", priority = 19)
public void 访客A中奖任务() {
visitorAuth();
ThreadSleepUtils.sleep(1000);
Map<String, Object> luckDetailParam = new HashMap<>();
luckDetailParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response luckDetailRes = network.getResponse(luckDetailParam, BasicConfig.ANCHOR_luckDetail);
try {
Boolean hasDrawTask = luckDetailRes.jsonPath().getBoolean("data.hasDrawTask");
Assert.assertTrue(hasDrawTask, network.message(luckDetailParam, BasicConfig.USER_result, "查询中奖任务失败", luckDetailRes.body().asString()));
} catch (Exception e) {
System.out.println("result = " + JSON.toJSONString(luckDetailRes.jsonPath().get()));
throw e;
}
}
@Test(description = "访客A中奖任务_分享直播间", priority = 20)
public void 访客A中奖任务_分享直播间() {
@Test(description = "访客A_分享直播间", priority = 19)
public void 访客A_分享直播间() {
visitorAuth();
ThreadSleepUtils.sleep(1000);
Map<String, Object> signParam = new HashMap<>();
......@@ -300,8 +282,9 @@ public class Lottery implements Authorization {
}
@Test(description = "中奖任务邀请C关系绑定", priority = 21)
public void 中奖任务邀请C关系绑定() {
@Test(description = "邀请C关系绑定", priority = 20)
public void 邀请C关系绑定() {
visitorAuth3();
Map<String, Object> bindingParam = new HashMap<>();
bindingParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
......@@ -313,8 +296,8 @@ public class Lottery implements Authorization {
}
@Test(description = "中奖任务邀请C绑定结果和绑定凭证", priority = 22)
public void 获取访客C绑定结果和绑定凭证() {
@Test(description = "邀请C绑定结果和绑定凭证", priority = 22)
public void 邀请C绑定结果和绑定凭证() {
visitorAuth3();
ThreadSleepUtils.sleep(2000);
Map<String, Object> tokenParam = new HashMap<>();
......@@ -326,24 +309,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客C给访客A助力", priority = 23)
public void 访客C给访客A助力() {
visitorAuth3();
ThreadSleepUtils.sleep(2000);
Map<String, Object> assistParam = new HashMap<>();
assistParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
assistParam.put("shareSign",shareSign);
assistParam.put("shareType",3);
assistParam.put("confId",this.List_ConfId.get(0).getWelfareConfId());
Response response = network.postResponse(assistParam, BasicConfig.MOBILE_assist);
boolean data = response.jsonPath().getBoolean("data");
System.out.println(data);
Assert.assertTrue(data, network.message(assistParam, BasicConfig.MOBILE_assist, "访客C给访客A助力失败", response.body().asString()));
}
@Test(description = "访客C到场", priority = 24)
@Test(description = "访客C到场", priority = 23)
public void 访客C到场() {
visitorAuth3();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -354,20 +320,9 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
//访客B绑定访客A后获取访客A的中奖任务信息
@Test(description = "访客C获取访客A的中奖任务信息", priority = 25)
public void 访客C获取访客A的中奖任务信息() {
visitorAuth3();
Map<String, Object> inviteDrawDetailParam = new HashMap<>();
inviteDrawDetailParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response inviteDrawDetailRes = network.getResponse(inviteDrawDetailParam, BasicConfig.ANCHOR_inviteDrawDetail);
Object result = inviteDrawDetailRes.jsonPath().getJsonObject("success");
System.out.println(result);
Assert.assertNotNull(result, network.message(inviteDrawDetailParam, BasicConfig.ANCHOR_inviteDrawDetail, "查询邀请人中奖信息失败", inviteDrawDetailRes.body().asString()));
}
@Test(description = "访客C关注直播间", priority = 26)
@Test(description = "访客C关注直播间", priority = 24)
public void 访客C关注直播间() {
visitorAuth3();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -378,7 +333,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客C抽奖码数量", priority = 27)
@Test(description = "访客C抽奖码数量", priority = 25)
public void 访客C抽奖码数量() {
visitorAuth3();
ThreadSleepUtils.sleep(1000);
......@@ -389,22 +344,89 @@ public class Lottery implements Authorization {
System.out.println(data);
Assert.assertNotNull(data, network.message(myCountParam, BasicConfig.USER_myCount, "获取抽奖码数量失败", myCountRes.body().asString()));
}
//好运红包
@Test(description = "分享者访客A获取好运红包", priority = 26)
public void 分享者访客A获取好运红包() {
visitorAuth();
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("scene",4);
Response response = network.postResponse(Params, BasicConfig.ANCHOR_getRed);
System.out.println( response.body().asString());
Object data = response.jsonPath().getJsonObject("data");
Assert.assertNotNull(data, network.message(Params, BasicConfig.ANCHOR_getRed, "好运红包获取失败", response.body().asString()));
}
@Test(description = "访客A中奖任务是否完成", priority = 28)
public void 访客A中奖任务是否完成() {
@Test(description = "访客A分享好运红包给访客B", priority = 27)
public void 访客A分享好运红包给访客B() {
visitorAuth();
ThreadSleepUtils.sleep(1000);
Map<String, Object> luckDetailParam = new HashMap<>();
luckDetailParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response luckDetailRes = network.getResponse(luckDetailParam, BasicConfig.ANCHOR_luckDetail);
boolean hasDrawTask = luckDetailRes.jsonPath().getJsonObject("data.hasDrawTask");
System.out.println(hasDrawTask);
Assert.assertTrue(hasDrawTask, network.message(luckDetailParam, BasicConfig.ANCHOR_luckDetail, "查询中奖任务失败", luckDetailRes.body().asString()));
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareType",11);
Response response = network.getResponse(Params, BasicConfig.MOBILE_helpInfo);
System.out.println( response.body().asString());
boolean success = response.jsonPath().getBoolean("success");
Assert.assertTrue(success, network.message(Params, BasicConfig.MOBILE_helpInfo, "分享失败", response.body().asString()));
}
@Test(description = "访客B获取好运红包领取记录", priority = 28)
public void 访客B获取好运红包领取记录() {
visitorAuth13();
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Response response = network.getResponse(Params, BasicConfig.MOBILE_receiveRecord);
System.out.println( response.body().asString());
boolean success = response.jsonPath().getBoolean("success");
Assert.assertTrue(success, network.message(Params, BasicConfig.MOBILE_receiveRecord, "访客B获取好运红包领取记录失败", response.body().asString()));
}
@Test(description = "访客B领取好运红包", priority = 29)
public void 访客B领取好运红包() {
visitorAuth13();
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareUserId","Kj20ODYz");
Response response = network.postResponse(Params, BasicConfig.MOBILE_receiverOpen);
System.out.println( response.body().asString());
Object data = response.jsonPath().getJsonObject("data");
Assert.assertNotNull(data, network.message(Params, BasicConfig.MOBILE_receiverOpen, "访客B领取好运红包失败", response.body().asString()));
}
@Test(description = "访客B参与记录", priority = 30)
public void 访客B参与记录() {
visitorAuth13();
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareUserId","Kj20ODYz");
Response response = network.getResponse(Params, BasicConfig.MOBILE_joinRecord);
System.out.println( response.body().asString());
Object data = response.jsonPath().getJsonObject("data");
Assert.assertNotNull(data, network.message(Params, BasicConfig.MOBILE_joinRecord, "访客B参与记录查询失败", response.body().asString()));
}
@Test(description = "访客A抽奖券列表", priority = 29)
@Test(description = "访客A获取好运红包领取记录", priority = 31)
public void 访客A获取好运红包领取记录() {
visitorAuth13();
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareUserId","Kj20ODYz");
Response response = network.getResponse(Params, BasicConfig.MOBILE_joinRecord);
System.out.println( response.body().asString());
Object data = response.jsonPath().getJsonObject("data");
Assert.assertNotNull(data, network.message(Params, BasicConfig.MOBILE_joinRecord, "访客A获取好运红包领取记录失败", response.body().asString()));
}
@Test(description = "访客A抽奖券列表", priority = 32)
public void 访客A抽奖券列表() {
visitorAuth();
ThreadSleepUtils.sleep(3000);
......@@ -415,18 +437,18 @@ public class Lottery implements Authorization {
Response myLotteryCodeRes = network.getResponse(myLotteryCodeParam, BasicConfig.MOBILE_MyLotteryCode);
Object data = myLotteryCodeRes.jsonPath().getJsonObject("data");
System.out.println(data);
List<Object> values = myLotteryCodeRes.jsonPath().getList("data.list");
boolean result = false;
for (Object value : values) {
if (Objects.equals(((Map) value).get("codeSource"), 5)) {
result = true;
break;
}
}
Assert.assertTrue(result, network.message(myLotteryCodeParam, BasicConfig.MOBILE_MyLotteryCode, "查询访客A抽奖券列表失败", myLotteryCodeRes.body().asString()));
}
@Test(description = "访客A抽奖码数量", priority = 30)
// List<Object> values = myLotteryCodeRes.jsonPath().getList("data.list");
// boolean result = false;
// for (Object value : values) {
// if (Objects.equals(((Map) value).get("codeSource"), 5)) {
// result = true;
// break;
// }
// }
Assert.assertNotNull(data, network.message(myLotteryCodeParam, BasicConfig.MOBILE_MyLotteryCode, "查询访客A抽奖券列表失败", myLotteryCodeRes.body().asString()));
}
@Test(description = "访客A抽奖码数量", priority = 33)
public void 访客A抽奖码数量() {
visitorAuth();
ThreadSleepUtils.sleep(500);
......@@ -439,7 +461,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客B幸运任务", priority = 31)
@Test(description = "访客B幸运任务", priority = 34)
public void 访客B幸运任务() {
visitorAuth2();
ThreadSleepUtils.sleep(3000);
......@@ -457,7 +479,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客B直播中分享直播间", priority = 32)
@Test(description = "访客B直播中分享直播间", priority = 35)
public void 访客B直播中分享直播间() {
visitorAuth2();
Map<String, Object> signParam = new HashMap<>();
......@@ -472,7 +494,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请D关系绑定", priority = 33)
@Test(description = "幸运任务邀请D关系绑定", priority = 36)
public void 幸运任务邀请D关系绑定() {
visitorAuth4();
Map<String, Object> bindingParam = new HashMap<>();
......@@ -485,7 +507,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请D绑定结果和绑定凭证", priority = 34)
@Test(description = "幸运任务邀请D绑定结果和绑定凭证", priority = 37)
public void 幸运任务邀请D绑定结果和绑定凭证() {
visitorAuth4();
ThreadSleepUtils.sleep(2000);
......@@ -498,7 +520,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客D给访客B助力", priority = 35)
@Test(description = "访客D给访客B助力", priority = 38)
public void 访客D给访客B助力() {
visitorAuth4();
ThreadSleepUtils.sleep(2000);
......@@ -513,7 +535,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(assistParam, BasicConfig.MOBILE_assist, "访客D给访客B助力失败", response.body().asString()));
}
@Test(description = "访客D到场", priority = 36)
@Test(description = "访客D到场", priority = 39)
public void 访客D到场() {
visitorAuth4();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -524,7 +546,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", response.body().asString()));
}
@Test(description = "访客D关注直播间", priority = 37)
@Test(description = "访客D关注直播间", priority = 40)
public void 访客D关注直播间() {
visitorAuth4();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -535,7 +557,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客D抽奖码数量", priority = 38)
@Test(description = "访客D抽奖码数量", priority = 41)
public void 访客D抽奖码数量() {
visitorAuth4();
ThreadSleepUtils.sleep(500);
......@@ -548,7 +570,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请E关系绑定", priority = 39)
@Test(description = "幸运任务邀请E关系绑定", priority = 42)
public void 幸运任务邀请E关系绑定() {
visitorAuth5();
Map<String, Object> bindingParam = new HashMap<>();
......@@ -561,7 +583,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请E绑定结果和绑定凭证", priority = 40)
@Test(description = "幸运任务邀请E绑定结果和绑定凭证", priority = 43)
public void 幸运任务邀请E绑定结果和绑定凭证() {
visitorAuth5();
ThreadSleepUtils.sleep(2000);
......@@ -574,7 +596,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客E给访客B助力", priority = 41)
@Test(description = "访客E给访客B助力", priority = 44)
public void 访客E给访客B助力() {
visitorAuth5();
ThreadSleepUtils.sleep(2000);
......@@ -589,7 +611,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(assistParam, BasicConfig.MOBILE_assist, "访客E给访客B助力失败", response.body().asString()));
}
@Test(description = "访客E到场", priority = 42)
@Test(description = "访客E到场", priority = 45)
public void 访客E到场() {
visitorAuth5();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -600,7 +622,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
@Test(description = "访客E关注直播间", priority = 43)
@Test(description = "访客E关注直播间", priority = 46)
public void 访客E关注直播间() {
visitorAuth5();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -611,7 +633,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", response.body().asString()));
}
@Test(description = "访客E抽奖码数量", priority = 44)
@Test(description = "访客E抽奖码数量", priority = 47)
public void 访客E抽奖码数量() {
visitorAuth5();
ThreadSleepUtils.sleep(500);
......@@ -624,7 +646,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请F关系绑定", priority = 45)
@Test(description = "幸运任务邀请F关系绑定", priority = 48)
public void 幸运任务邀请F关系绑定() {
visitorAuth6();
Map<String, Object> bindingParam = new HashMap<>();
......@@ -637,7 +659,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请F绑定结果和绑定凭证", priority = 46)
@Test(description = "幸运任务邀请F绑定结果和绑定凭证", priority = 49)
public void 幸运任务邀请F绑定结果和绑定凭证() {
visitorAuth6();
ThreadSleepUtils.sleep(2000);
......@@ -649,7 +671,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(type==3, network.message(tokenParam, BasicConfig.MOBILE_Token, "未获取到绑定结果", tokenRes.body().asString()));
}
@Test(description = "访客F给访客B助力", priority = 47)
@Test(description = "访客F给访客B助力", priority = 50)
public void 访客F给访客B助力() {
visitorAuth6();
ThreadSleepUtils.sleep(2000);
......@@ -664,7 +686,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(assistParam, BasicConfig.MOBILE_assist, "访客F给访客B助力失败", response.body().asString()));
}
@Test(description = "访客F到场", priority = 48)
@Test(description = "访客F到场", priority = 51)
public void 访客F到场() {
visitorAuth6();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -675,7 +697,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", response.body().asString()));
}
@Test(description = "访客F关注直播间", priority = 49)
@Test(description = "访客F关注直播间", priority = 52)
public void 访客F关注直播间() {
visitorAuth6();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -686,7 +708,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客F抽奖码数量", priority = 50)
@Test(description = "访客F抽奖码数量", priority = 53)
public void 访客F抽奖码数量() {
visitorAuth6();
ThreadSleepUtils.sleep(500);
......@@ -700,7 +722,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请G关系绑定", priority = 51)
@Test(description = "幸运任务邀请G关系绑定", priority = 54)
public void 幸运任务邀请G关系绑定() {
visitorAuth7();
Map<String, Object> bindingParam = new HashMap<>();
......@@ -713,7 +735,7 @@ public class Lottery implements Authorization {
}
@Test(description = "幸运任务邀请G绑定结果和绑定凭证", priority = 52)
@Test(description = "幸运任务邀请G绑定结果和绑定凭证", priority = 55)
public void 幸运任务邀请G绑定结果和绑定凭证() {
visitorAuth7();
ThreadSleepUtils.sleep(2000);
......@@ -725,7 +747,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(type==3, network.message(tokenParam, BasicConfig.MOBILE_Token, "未获取到绑定结果", tokenRes.body().asString()));
}
@Test(description = "访客G给访客B助力", priority = 53)
@Test(description = "访客G给访客B助力", priority = 56)
public void 访客G给访客B助力() {
visitorAuth7();
ThreadSleepUtils.sleep(2000);
......@@ -740,7 +762,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(assistParam, BasicConfig.MOBILE_assist, "访客G给访客B助力失败", response.body().asString()));
}
@Test(description = "访客G到场", priority = 54)
@Test(description = "访客G到场", priority = 57)
public void 访客G到场() {
visitorAuth7();//黑名单用户
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -751,7 +773,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
@Test(description = "访客G关注直播间", priority = 55)
@Test(description = "访客G关注直播间", priority = 58)
public void 访客G关注直播间() {
visitorAuth7();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -762,7 +784,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客G抽奖码数量", priority = 56)
@Test(description = "访客G抽奖码数量", priority = 59)
public void 访客G抽奖码数量() {
visitorAuth7();
ThreadSleepUtils.sleep(500);
......@@ -776,7 +798,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客B幸运任务是否完成", priority = 57)
@Test(description = "访客B幸运任务是否完成", priority = 60)
public void 访客B幸运任务是否完成() {
visitorAuth2();
ThreadSleepUtils.sleep(3000);
......@@ -789,7 +811,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客B的抽奖券列表", priority = 58)
@Test(description = "访客B的抽奖券列表", priority = 61)
public void 访客B的抽奖券列表() {
visitorAuth2();
ThreadSleepUtils.sleep(3000);
......@@ -810,7 +832,7 @@ public class Lottery implements Authorization {
}
@Test(description = "访客B的抽奖码数量", priority = 59)
@Test(description = "访客B的抽奖码数量", priority = 62)
public void 访客B抽奖码数量() {
visitorAuth2();
ThreadSleepUtils.sleep(3000);
......@@ -823,7 +845,7 @@ public class Lottery implements Authorization {
}
@Test(description = "开始第二轮抽奖", priority = 60)
@Test(description = "开始第二轮抽奖", priority = 63)
public void 开始第二轮抽奖() {
adminAuth();
ThreadSleepUtils.sleep(1000);
......@@ -836,7 +858,7 @@ public class Lottery implements Authorization {
Assert.assertNotNull(data, network.message(startParam, BasicConfig.ANCHOR_start, "开启第二轮抽奖失败", startRes.body().asString()));
}
@Test(description = "查询第二轮正在抽奖的福利", priority = 61)
@Test(description = "查询第二轮正在抽奖的福利", priority = 64)
public void 查询第二轮正在抽奖的福利() {
visitorAuth3();
ThreadSleepUtils.sleep(1000);
......@@ -850,7 +872,7 @@ public class Lottery implements Authorization {
}
@Test(description = "查询第二轮是否可以结束抽奖状态", priority = 62)
@Test(description = "查询第二轮是否可以结束抽奖状态", priority = 65)
public void 查询第二轮是否可以结束抽奖状态() {
adminAuth();
ThreadSleepUtils.sleep(3000);
......@@ -863,7 +885,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(statusParam, BasicConfig.ANCHOR_status, "抽奖状态查询失败", statusRes.body().asString()));
}
@Test(description = "结束第二轮抽奖", priority = 63)
@Test(description = "结束第二轮抽奖", priority = 66)
public void 结束第二轮抽奖() {
adminAuth();
Map<String, Object> endParam = new HashMap<>();
......@@ -876,7 +898,7 @@ public class Lottery implements Authorization {
}
//昵称:刘超 孝感区域指定中奖
@Test(description = "孝感访客C是否中奖", priority = 64)
@Test(description = "孝感访客C是否中奖", priority = 67)
public void 孝感访客C是否中奖() {
visitorAuth3();
ThreadSleepUtils.sleep(3000);
......@@ -895,7 +917,7 @@ public class Lottery implements Authorization {
}
//昵称:李执--区域中奖用户
@Test(description = "北京访客D查询是否中奖", priority = 65)
@Test(description = "北京访客D查询是否中奖", priority = 68)
public void 北京访客D查询是否中奖() {
visitorAuth4();
ThreadSleepUtils.sleep(3000);
......@@ -914,7 +936,7 @@ public class Lottery implements Authorization {
}
//昵称:周成
@Test(description = "杭州访客E是否中奖", priority = 66)
@Test(description = "杭州访客E是否中奖", priority = 69)
public void 杭州访客E是否中奖() {
visitorAuth5();
ThreadSleepUtils.sleep(3000);
......@@ -934,7 +956,7 @@ public class Lottery implements Authorization {
}
//昵称:新强
@Test(description = "厦门访客F是否中奖", priority = 67)
@Test(description = "厦门访客F是否中奖", priority = 70)
public void 厦门访客F是否中奖() {
visitorAuth6();
ThreadSleepUtils.sleep(3000);
......@@ -953,7 +975,7 @@ public class Lottery implements Authorization {
}
//黑名单用户过滤
@Test(description = "黑名单访客G是否中奖", priority = 68)
@Test(description = "黑名单访客G是否中奖", priority = 71)
public void 黑名单访客G是否中奖() {
visitorAuth7();
ThreadSleepUtils.sleep(3000);
......@@ -974,7 +996,7 @@ public class Lottery implements Authorization {
//第三轮企业指定中奖
@Test(description = "开始第三轮抽奖", priority = 69)
@Test(description = "开始第三轮抽奖", priority = 72)
public void 开始第三轮抽奖() {
adminAuth();
ThreadSleepUtils.sleep(1000);
......@@ -987,7 +1009,7 @@ public class Lottery implements Authorization {
Assert.assertNotNull(data, network.message(startParam, BasicConfig.ANCHOR_start, "开启第三轮抽奖失败", startRes.body().asString()));
}
@Test(description = "查询第三轮正在抽奖的福利", priority = 70)
@Test(description = "查询第三轮正在抽奖的福利", priority = 73)
public void 查询第三轮正在抽奖的福利() {
visitorAuth6();
ThreadSleepUtils.sleep(1000);
......@@ -1001,7 +1023,7 @@ public class Lottery implements Authorization {
}
@Test(description = "查询第三轮是否可以结束抽奖状态", priority = 71)
@Test(description = "查询第三轮是否可以结束抽奖状态", priority = 74)
public void 查询第三轮是否可以结束抽奖状态() {
adminAuth();
ThreadSleepUtils.sleep(3000);
......@@ -1014,7 +1036,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(statusParam, BasicConfig.ANCHOR_status, "抽奖状态查询失败", statusRes.body().asString()));
}
@Test(description = "结束第三轮抽奖", priority = 72)
@Test(description = "结束第三轮抽奖", priority = 75)
public void 结束第三轮抽奖() {
adminAuth();
Map<String, Object> endParam = new HashMap<>();
......@@ -1026,7 +1048,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(endParam, BasicConfig.ANCHOR_end, "结束第三轮抽奖失败", endRes.body().asString()));
}
@Test(description = "企业指定访客E是否中奖", priority = 73)
@Test(description = "企业指定访客E是否中奖", priority = 76)
public void 企业指定访客E是否中奖() {
visitorAuth5();
ThreadSleepUtils.sleep(3000);
......@@ -1047,7 +1069,7 @@ public class Lottery implements Authorization {
//第4轮团队指定份数
@Test(description = "不在指定团队访客H到场", priority = 74)
@Test(description = "不在指定团队访客H到场", priority = 77)
public void 访客H到场() {
visitorAuth9();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -1058,7 +1080,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
@Test(description = "访客H关注直播间", priority = 75)
@Test(description = "访客H关注直播间", priority = 78)
public void 访客H关注直播间() {
visitorAuth9();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -1069,7 +1091,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客H抽奖码数量", priority = 76)
@Test(description = "访客H抽奖码数量", priority = 79)
public void 访客H抽奖码数量() {
visitorAuth9();
ThreadSleepUtils.sleep(1000);
......@@ -1083,7 +1105,7 @@ public class Lottery implements Authorization {
}
@Test(description = "不在指定团队访客I到场", priority = 77)
@Test(description = "不在指定团队访客I到场", priority = 80)
public void 访客I到场() {
visitorAuth8();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -1094,7 +1116,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
@Test(description = "访客I关注直播间", priority = 78)
@Test(description = "访客I关注直播间", priority = 81)
public void 访客I关注直播间() {
visitorAuth8();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -1105,7 +1127,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客I抽奖码数量", priority = 79)
@Test(description = "访客I抽奖码数量", priority = 82)
public void 访客I抽奖码数量() {
visitorAuth8();
ThreadSleepUtils.sleep(1000);
......@@ -1119,7 +1141,7 @@ public class Lottery implements Authorization {
}
@Test(description = "指定团队访客J到场", priority = 80)
@Test(description = "指定团队访客J到场", priority = 83)
public void 访客J到场() {
visitorAuth10();
Map<String, Object> connectSuccessParam = new HashMap<>();
......@@ -1130,7 +1152,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(success, network.message(connectSuccessParam, BasicConfig.USER_connectSuccess, "访客到场请求失败", connectSuccessoRes.body().asString()));
}
@Test(description = "访客J关注直播间", priority = 81)
@Test(description = "访客J关注直播间", priority = 84)
public void 访客J关注直播间() {
visitorAuth10();
Map<String, Object> subscribeParam = new HashMap<>();
......@@ -1141,7 +1163,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(subscribeParam, BasicConfig.USER_SUBSCRIBE, "关注失败", subscribeRes.body().asString()));
}
@Test(description = "访客J抽奖码数量", priority = 82)
@Test(description = "访客J抽奖码数量", priority = 85)
public void 访客J抽奖码数量() {
visitorAuth10();
ThreadSleepUtils.sleep(1000);
......@@ -1154,7 +1176,7 @@ public class Lottery implements Authorization {
}
@Test(description = "开始第四轮抽奖", priority = 83)
@Test(description = "开始第四轮抽奖", priority = 86)
public void 开始第四轮抽奖() {
adminAuth();
ThreadSleepUtils.sleep(1000);
......@@ -1167,7 +1189,7 @@ public class Lottery implements Authorization {
Assert.assertNotNull(data, network.message(startParam, BasicConfig.ANCHOR_start, "开启第四轮抽奖失败", startRes.body().asString()));
}
@Test(description = "查询第四轮正在抽奖的福利", priority = 84)
@Test(description = "查询第四轮正在抽奖的福利", priority = 87)
public void 查询第四轮正在抽奖的福利() {
visitorAuth6();
ThreadSleepUtils.sleep(1000);
......@@ -1181,7 +1203,7 @@ public class Lottery implements Authorization {
}
@Test(description = "查询第四轮是否可以结束抽奖状态", priority = 85)
@Test(description = "查询第四轮是否可以结束抽奖状态", priority = 88)
public void 查询第四轮是否可以结束抽奖状态() {
adminAuth();
ThreadSleepUtils.sleep(3000);
......@@ -1194,7 +1216,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(statusParam, BasicConfig.ANCHOR_status, "抽奖状态查询失败", statusRes.body().asString()));
}
@Test(description = "结束第四轮抽奖", priority = 86)
@Test(description = "结束第四轮抽奖", priority = 89)
public void 结束第四轮抽奖() {
adminAuth();
Map<String, Object> endParam = new HashMap<>();
......@@ -1208,7 +1230,7 @@ public class Lottery implements Authorization {
//企业已指定不能再中奖
@Test(description = "团队指定访客E是否中奖", priority = 87)
@Test(description = "团队指定访客E是否中奖", priority = 90)
public void 团队指定访客E是否中奖() {
visitorAuth5();
ThreadSleepUtils.sleep(3000);
......@@ -1226,7 +1248,7 @@ public class Lottery implements Authorization {
}
//团队分配制定中奖
@Test(description = "团队指定访客是否中奖", priority = 88)
@Test(description = "团队指定访客是否中奖", priority = 91)
public void 团队指定访客是否中奖() {
ThreadSleepUtils.sleep(3000);
//构建参数
......@@ -1261,7 +1283,7 @@ public class Lottery implements Authorization {
//不在公司指定区域内的用户
@Test(description = "团队指定访客F是否中奖", priority = 89)
@Test(description = "团队指定访客F是否中奖", priority = 92)
public void 团队指定访客F是否中奖() {
visitorAuth6();
ThreadSleepUtils.sleep(3000);
......@@ -1280,7 +1302,7 @@ public class Lottery implements Authorization {
@Test(description = "不在团队指定访客I是否中奖", priority = 90)
@Test(description = "不在团队指定访客I是否中奖", priority = 93)
public void 不在团队指定访客I是否中奖() {
visitorAuth8();
ThreadSleepUtils.sleep(3000);
......@@ -1298,7 +1320,7 @@ public class Lottery implements Authorization {
}
@Test(description = "开始第五轮抽奖", priority = 91)
@Test(description = "开始第五轮抽奖", priority = 94)
public void 开始第五轮抽奖() {
adminAuth();
ThreadSleepUtils.sleep(1000);
......@@ -1311,7 +1333,7 @@ public class Lottery implements Authorization {
Assert.assertNotNull(data, network.message(startParam, BasicConfig.ANCHOR_start, "开启第五轮抽奖失败", startRes.body().asString()));
}
@Test(description = "查询第五轮正在抽奖的福利", priority = 92)
@Test(description = "查询第五轮正在抽奖的福利", priority = 95)
public void 查询第五轮正在抽奖的福利() {
visitorAuth6();
ThreadSleepUtils.sleep(1000);
......@@ -1325,7 +1347,7 @@ public class Lottery implements Authorization {
}
@Test(description = "查询第五轮是否可以结束抽奖状态", priority = 93)
@Test(description = "查询第五轮是否可以结束抽奖状态", priority = 96)
public void 查询第五轮是否可以结束抽奖状态() {
adminAuth();
ThreadSleepUtils.sleep(3000);
......@@ -1338,7 +1360,7 @@ public class Lottery implements Authorization {
Assert.assertTrue(data, network.message(statusParam, BasicConfig.ANCHOR_status, "抽奖状态查询失败", statusRes.body().asString()));
}
@Test(description = "结束第五轮抽奖", priority = 94)
@Test(description = "结束第五轮抽奖", priority = 97)
public void 结束第五轮抽奖() {
adminAuth();
Map<String, Object> endParam = new HashMap<>();
......@@ -1352,7 +1374,7 @@ public class Lottery implements Authorization {
//团队分配指定中奖
@Test(description = "普通抽奖轮次访客是否中奖", priority = 95)
@Test(description = "普通抽奖轮次访客是否中奖", priority = 98)
public void 普通抽奖轮次访客是否中奖() {
ThreadSleepUtils.sleep(3000);
//构建参数
......
......@@ -99,10 +99,12 @@ public class BasicConfig {
public static final String MANAGER_redConfDetail = MANAGER_HOST + "/kjy/manager/live/fortune/red/confDetail";
public static final String MANAGER_redSwitch = MANAGER_HOST + "/kjy/manager/live/fortune/red/status/switch";
public static final String MANAGER_insertOrUpdate = MANAGER_HOST + "/kjy/manager/live/pre/conf/insertOrUpdate";
public static final String MANAGER_preLayer = MANAGER_HOST + "/kjy/manager/live/pre/conf/preLayer";
public static final String MANAGER_openPreLayer = MANAGER_HOST + "/kjy/manager/live/pre/conf/openPreLayer";
public static final String MOBILE_receiveRecord = MOBILE_HOST + "/kjy/live/fortune/receiver/receiveRecord";
public static final String MOBILE_receiverOpen= MOBILE_HOST + "/kjy/live/fortune/receiver/open";
public static final String MOBILE_joinRecord= MOBILE_HOST + "/kjy/live/fortune/receiver/joinRecord";
// *************** 闯关答题 ***************
public static final String MANAGER_addOrUpdateQues = MANAGER_HOST + "/kjy/manager/pass/ques/addOrUpdateQues";
......@@ -176,20 +178,25 @@ public class BasicConfig {
public static final String ANCHOR_listLiveFreeReward = MOBILE_HOST + "/kjy/live/lottery/listLiveFreeReward";
public static final String ANCHOR_receive = MOBILE_HOST + "/kjy/live/user/lottery/receive";
// *************** 翻牌红包 ***************
public static final String MANAGER_card = MANAGER_HOST + "/kjy/manager/live/flip/card/save";
public static final String MANAGER_switch = MANAGER_HOST + "/kjy/manager/live/flip/card/status/switch";
public static final String MANAGER_cardDetail = MANAGER_HOST + "/kjy/manager/live/flip/card/detail";
public static final String MOBILE_status = MOBILE_HOST + "/kjy/live/flip/card/status";
public static final String MOBILE_cardDetail= MOBILE_HOST + "/kjy/live/flip/card/detail";
public static final String MOBILE_userInfo= MOBILE_HOST + "/kjy/live/flip/card/userInfo";
public static final String MOBILE_cardOpen= MOBILE_HOST + "/kjy/live/flip/card/open";
public static final String MOBILE_participateInfo= MOBILE_HOST + "/kjy/live/flip/card/participateInfo";
public static final String MOBILE_withdrawal= MOBILE_HOST + "/kjy/live/flip/card/withdrawal";
public static final String MOBILE_withdrawalResult= MOBILE_HOST + "/kjy/live/flip/card/withdrawalResult";
public static final String MOBILE_withdrawalRecord= MOBILE_HOST + "/kjy/live/flip/card/withdrawalRecord";
// *************** 翻牌集字红包 ***************
public static final String MANAGER_flipWord = MANAGER_HOST + "/kjy/manager/flip/word/saveOrUpdate";
public static final String MANAGER_wordSwitchStatus = MANAGER_HOST + "/kjy/manager/flip/word/switchStatus";
public static final String MANAGER_wordDetail = MANAGER_HOST + "/kjy/manager/flip/word/detail";
public static final String MOBILE_status = MOBILE_HOST + "/kjy/live/flip/word/status";
public static final String MOBILE_wordConf= MOBILE_HOST + "/kjy/live/flip/word/conf";
public static final String MOBILE_checkIn= MOBILE_HOST + "/kjy/live/flip/word/checkIn";
public static final String MOBILE_history= MOBILE_HOST + "/kjy/live/flip/word/user/history";
public static final String MOBILE_finishStatus= MOBILE_HOST + "/kjy/live/flip/word/user/finishStatus";
public static final String MOBILE_redOpen= MOBILE_HOST + "/kjy/live/flip/word/red/open";
public static final String MOBILE_redOpenState= MOBILE_HOST + "/kjy/live/flip/word/red/open/state";
public static final String MOBILE_abort= MOBILE_HOST + "/kjy/live/flip/word/red/abort";
public static final String MOBILE_appointment= MOBILE_HOST + "/kjy/live/user/appointment";
public static final String MOBILE_tasks= MOBILE_HOST + "/kjy/live/flip/word/user/tasks";
public static final String MOBILE_record= MOBILE_HOST + "/kjy/live/flip/word/user/record";
public static final String MOBILE_turn= MOBILE_HOST + "/kjy/live/flip/word/turn";
public static final String MOBILE_turnState= MOBILE_HOST + "/kjy/live/flip/word/turn/state";
// *************** 直播间过渡视频 ***************
public static final String MANAGER_confCaveOrUpdate = MANAGER_HOST + "/kjy/manager/live/trans/video/conf/saveOrUpdate";
public static final String MANAGER_videoSwitch = MANAGER_HOST + "/kjy/manager/live/trans/video/conf/status/switch";
......@@ -216,6 +223,10 @@ public class BasicConfig {
public static final String MOBILE_open= MOBILE_HOST + "/clue/guess/number/red/open";
public static final String MOBILE_result = MOBILE_HOST + "/clue/guess/number/red/result";
public static final String MANAGER_encode = MANAGER_HOST + "/kjy/manager/testUser/encode";
// *************** 宝箱裂变 ***************
public static final String MANAGER_getList4Admin = MANAGER_HOST + "/kjy/manager/welfare/pre/conf/getList4Admin";
public static final String MANAGER_saveTreasureConf = MANAGER_HOST + "/kjy/manager/live/treasure/saveTreasureConf";
......@@ -290,7 +301,7 @@ public class BasicConfig {
public static final String ANCHOR_status = MOBILE_HOST + "/conf/live/lottery/status";
public static final String ANCHOR_end = MOBILE_HOST + "/conf/live/lottery/end";
public static final String ANCHOR_luckDetail = MOBILE_HOST + "/clue/lottery/task/luckDetail";
public static final String ANCHOR_inviteDrawDetail = MOBILE_HOST + "/clue/lottery/task/inviteDrawDetail";
public static final String ANCHOR_getRed = MOBILE_HOST + "/kjy/live/fortune/sharer/getRed";
// *************** 访客端 ***************
public static final String USER_SUBSCRIBE = MOBILE_HOST + "/kjy/live/user/appointment/subscribe";
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="集客助手" verbose="1" thread-count="3">
<!-- <test preserve-order="true" name="首页" >-->
<!-- <classes>-->
<!-- <class name="com.kjj.qa.cases.Home"/>-->
<!-- </classes>-->
<!-- </test>-->
<!-- <test preserve-order="true" name="新手任务">-->
<!-- <classes>-->
<!-- <class name="com.kjj.qa.cases.Novice"/>-->
<!-- </classes>-->
<!-- </test>-->
<test preserve-order="true" name="支付">
<classes>
<class name="com.kjj.cases.basics.Pay"/>
......@@ -43,12 +34,12 @@
</test>
<test preserve-order="true" name="我的名片">
<classes>
<class name="com.kjj.cases.basics.card.PersonCard"/>
<class name="com.kjj.cases.assistant.card.PersonCard"/>
</classes>
</test>
<test preserve-order="true" name="文章中个人名片">
<classes>
<class name="com.kjj.cases.basics.card.ArticalPersonCard"/>
<class name="com.kjj.cases.assistant.card.ArticalPersonCard"/>
</classes>
</test>
<test preserve-order="true" name = "种草素材">
......
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