Commit 9ce9c447 authored by 龚小红's avatar 龚小红

增加了新手引导的测试用例

parent 4ae4d218
......@@ -747,7 +747,7 @@ public class PersonCard implements Authorization {
Response response = network.getResponse(params, SELLERCARD_getQuestions);
boolean success = response.jsonPath().getBoolean("success");
Object data = response.jsonPath().getJsonObject("data");
questionId = response.jsonPath().getJsonObject("data.questionList.get(0).id");
questionId = response.jsonPath().getString("data.questionList.get(0).id");
Assert.assertTrue(success,network.message(params, SELLERCARD_getQuestions,"接口返回失败",response.body().asString()));
Assert.assertNotNull(data,network.message(params, SELLERCARD_getQuestions,"配置为空",response.body().asString()));
}
......
......@@ -623,6 +623,7 @@ public class BasicConfig {
public static final String QRCODE_create= HOST + "/kjy/mp/qrcode/create";
public static final String UPLOAD_image= HOST + "/kjy/mp/upload/image";
public static final String DYNAMIC_addVisit= HOST + "/kjy/mp/seller/dynamic/addVisit";
public static final String ROOKIEGUIDE_homeGuide= HOST + "/kjy/mp/rookieGuide/homeGuide";
// *************** 支付 ***************
public static final String PAY_getMiddleDetail = HOST + "/kjy/mp/payMiddle/getMiddleDetail";
......@@ -969,5 +970,7 @@ public class BasicConfig {
public static final String MANAGER_vipList = MANAGER_HOST + "/kjy/manager/seller/vipList";
public static final String MANAGER_disableUser = MANAGER_HOST + "/kjy/manager/testUser/disableUser";
public static final String MANAGER_updateTypeOrDate = MANAGER_HOST + "/kjy/manager/seller/updateTypeOrDate";
public static final String MANAGER_oamsg = MANAGER_HOST + "/kjy/notify/oamsg";
public static final String MANAGER_oamsg = HOST + "/kjy/notify/oamsg";
public static final String MANAGER_encryptTku = MANAGER_HOST + "/kjy/manager/testUser/encryptTku";
public static final String MANAGER_changeCompany = MANAGER_HOST + "/kjy/manager/seller/changeCompany";
}
......@@ -85,7 +85,7 @@
<!-- </test>-->
<test preserve-order="true" name = "新手引导">
<classes>
<class name="com.kjj.cases.assistant.menu.PersonalCenter"/>
<class name="com.kjj.cases.assistant.menu.NoviceGuidance"/>
</classes>
</test>
</suite>
......
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