Commit 812f0ac0 authored by 龚小红's avatar 龚小红

bugFix:增加自动化到场修复下单失败失败,删除资料包增加等待时间。

parent 9405003b
...@@ -626,6 +626,7 @@ public class NoviceGuidance implements Authorization { ...@@ -626,6 +626,7 @@ public class NoviceGuidance implements Authorization {
@Test(description = "删除互助问答成功",priority = 37) @Test(description = "删除互助问答成功",priority = 37)
public void 删除互助问答成功() { public void 删除互助问答成功() {
sleep(3000);
Map<String, Object> Params = new HashMap<String, Object>(); Map<String, Object> Params = new HashMap<String, Object>();
Params.put("forceDelete",0); Params.put("forceDelete",0);
Params.put("id",qaID); Params.put("id",qaID);
...@@ -646,6 +647,7 @@ public class NoviceGuidance implements Authorization { ...@@ -646,6 +647,7 @@ public class NoviceGuidance implements Authorization {
@Test(description = "删除资料包",priority = 39) @Test(description = "删除资料包",priority = 39)
public void 删除资料包() { public void 删除资料包() {
sleep(3000);
Map<String, Object> Params = new HashMap<String, Object>(); Map<String, Object> Params = new HashMap<String, Object>();
Params.put("id",dataID); Params.put("id",dataID);
Response response = network.postResponse(Params, BasicConfig.MANAGER_resource_delete); Response response = network.postResponse(Params, BasicConfig.MANAGER_resource_delete);
......
...@@ -37,6 +37,9 @@ public class Lottery implements Authorization { ...@@ -37,6 +37,9 @@ public class Lottery implements Authorization {
visitorAuth2(); visitorAuth2();
connectSuccess(); connectSuccess();
visitorAuto1();
connectSuccess();
} }
@Test(description = "代理人抽奖活动弹层福利列表", priority = 1) @Test(description = "代理人抽奖活动弹层福利列表", priority = 1)
...@@ -1148,7 +1151,5 @@ public class Lottery implements Authorization { ...@@ -1148,7 +1151,5 @@ public class Lottery implements Authorization {
throw e; throw e;
} }
} }
} }
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