Commit 2b740eea authored by 张艳玲's avatar 张艳玲

更新好运红包用例

parent e6663127
......@@ -404,6 +404,7 @@ public class Lottery implements Authorization {
@Test(description = "访客B参与记录", priority = 30)
public void 访客B参与记录() {
visitorAuth13();
ThreadSleepUtils.sleep(3000);
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareUserId","Kj20ODYz");
......@@ -421,6 +422,7 @@ public class Lottery implements Authorization {
@Test(description = "访客A获取好运红包领取记录", priority = 31)
public void 访客A获取好运红包领取记录() {
visitorAuth13();
ThreadSleepUtils.sleep(500);
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
Params.put("shareUserId","Kj20ODYz");
......@@ -433,12 +435,9 @@ public class Lottery implements Authorization {
int amount = response.jsonPath().getJsonObject("data.amount");
Assert.assertTrue(amount==30, network.message(Params, BasicConfig.MOBILE_joinRecord, "领取金额为null", response.body().asString()));
}
@Test(description = "访客A抽奖券列表", priority = 32)
public void 访客A抽奖券列表() {
visitorAuth();
......
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