Commit a73cfae3 authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20210926-gxh' into 'master'

兑奖流程增加延时

See merge request test-group/kejiji!130
parents 6d92a5bf 5ab3e208
...@@ -893,6 +893,7 @@ public class GoldenEgg implements Authorization { ...@@ -893,6 +893,7 @@ public class GoldenEgg implements Authorization {
@Test(description = "访客A实物兑奖成功", priority = 51) @Test(description = "访客A实物兑奖成功", priority = 51)
public void 访客A实物兑奖成功() { public void 访客A实物兑奖成功() {
visitorAuth(); visitorAuth();
sleep(2000);
Map<String, Object> param = new HashMap<>(); Map<String, Object> param = new HashMap<>();
param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
param.put("treasureConfId",ConfId); param.put("treasureConfId",ConfId);
...@@ -942,6 +943,7 @@ public class GoldenEgg implements Authorization { ...@@ -942,6 +943,7 @@ public class GoldenEgg implements Authorization {
@Test(description = "访客B抽奖码兑奖成功", priority = 54) @Test(description = "访客B抽奖码兑奖成功", priority = 54)
public void 访客B抽奖码兑奖成功() { public void 访客B抽奖码兑奖成功() {
visitorAuth2(); visitorAuth2();
sleep(2000);
Map<String, Object> param = new HashMap<>(); Map<String, Object> param = new HashMap<>();
param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
param.put("treasureConfId",ConfId); param.put("treasureConfId",ConfId);
...@@ -991,6 +993,7 @@ public class GoldenEgg implements Authorization { ...@@ -991,6 +993,7 @@ public class GoldenEgg implements Authorization {
@Test(description = "访客F红包兑奖成功", priority = 57) @Test(description = "访客F红包兑奖成功", priority = 57)
public void 访客F红包兑奖成功() { public void 访客F红包兑奖成功() {
visitorAuth8(); visitorAuth8();
sleep(2000);
Map<String, Object> param = new HashMap<>(); Map<String, Object> param = new HashMap<>();
param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); param.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
param.put("treasureConfId",ConfId); param.put("treasureConfId",ConfId);
......
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