Commit 72ca9215 authored by 吕雯燕's avatar 吕雯燕

Merge branch 'duiba_wenyan'

parents ea531119 b19ba492
...@@ -157,13 +157,14 @@ public class 商品分组组件_DuibaTest extends DuibaTestBase { ...@@ -157,13 +157,14 @@ public class 商品分组组件_DuibaTest extends DuibaTestBase {
switch (caseNum){ switch (caseNum){
case 1: case 1:
Assert.assertEquals(response.jsonPath().getString("data.rows[0].title"),"Q币充值","校验第一个商品title失败"); Assert.assertEquals(response.jsonPath().getString("data.rows[0].title"),"【勿动】兑吧优惠券共享库存测试","校验第一个商品title失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[0].customCredits"),"700","校验第一个商品credits失败"); Assert.assertEquals(response.jsonPath().getString("data.rows[0].customCredits"),"140","校验第一个商品credits失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[0].smallImage"),"//yun.dui88.com/images/201610/9qawkmx7eh.jpg","校验第一个商品smallImage失败"); Assert.assertEquals(response.jsonPath().getString("data.rows[0].smallImage"),"//yun.dui88.com/images/201807/79r9bwt2my.png","校验第二个商品smallImage失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].title"),"Q币充值","校验第二个商品title失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].customCredits"),"700","校验第二个商品credits失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].smallImage"),"//yun.dui88.com/images/201610/9qawkmx7eh.jpg","校验第一个商品smallImage失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].title"),"【勿动】兑吧优惠券共享库存测试","校验第二个商品title失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].customCredits"),"140","校验第二个商品credits失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[1].smallImage"),"//yun.dui88.com/images/201807/79r9bwt2my.png","校验第二个商品smallImage失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[2].title"),"【自动化勿动】兑吧实物日期兑换限制进行中","校验第三个商品title失败"); Assert.assertEquals(response.jsonPath().getString("data.rows[2].title"),"【自动化勿动】兑吧实物日期兑换限制进行中","校验第三个商品title失败");
Assert.assertEquals(response.jsonPath().getString("data.rows[2].customCredits"),"700","校验第三个商品credits失败"); Assert.assertEquals(response.jsonPath().getString("data.rows[2].customCredits"),"700","校验第三个商品credits失败");
......
...@@ -230,7 +230,7 @@ public class 商品组件_DuibaTest extends DuibaTestBase{ ...@@ -230,7 +230,7 @@ public class 商品组件_DuibaTest extends DuibaTestBase{
@Test(description = "手机端商品组件老商品展示") @Test(description = "手机端商品组件老商品展示")
public void 手机端商品组件老商品() throws Exception { public void 手机端商品组件老商品() throws Exception {
Map cookies = authorization.dafuwengLogin(7315); Map cookies = authorization.dafuwengLogin(7316);
List<Integer> appItemIds = new ArrayList<>(); List<Integer> appItemIds = new ArrayList<>();
appItemIds.add(195485); appItemIds.add(195485);
appItemIds.add(191895); appItemIds.add(191895);
......
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