Commit 37af82ae authored by 马博's avatar 马博

加延时

parent b0c10f5e
......@@ -158,7 +158,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger.info("商品兑换按钮:" + exchangeText);
//第二次兑换
Thread.sleep(3000);
Thread.sleep(5000);
try{
response = gawService.couponExchange(cookies,appItemId,itemId,skuId);
response.prettyPrint();
......@@ -221,7 +221,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger.info("商品兑换按钮:" + exchangeText);
//第二次兑换
Thread.sleep(3000);
Thread.sleep(5000);
try{
response = gawService.couponExchange(cookies,appItemId,itemId,skuId);
response.prettyPrint();
......@@ -231,7 +231,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
}
logger.info(message);
Assert.assertTrue(message.contains("已达兑换次数上限"),"校验message失败");
Assert.assertTrue(message.contains("该批次已达兑换上限"),"校验message失败");
Assert.assertTrue(message.contains("\"success\":false"),"校验success失败");
//按钮文案不变
......@@ -285,7 +285,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger.info("商品兑换按钮:" + exchangeText);
//第二次兑换
Thread.sleep(3000);
Thread.sleep(5000);
try{
response = gawService.couponExchange(cookies,appItemId,itemId,skuId);
response.prettyPrint();
......
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