Eazin 4 months ago
parent
commit
5fab8a2752

File diff suppressed because it is too large
+ 1 - 0
allure-results/23e957bf-5c3e-45d8-95cc-89928d71808c-result.json


+ 1 - 0
allure-results/9e529a9f-f3a2-4454-af57-f514629bb852-container.json

@@ -0,0 +1 @@
+{"uuid":"9e529a9f-f3a2-4454-af57-f514629bb852","name":"page.PolicyPageTest","children":["23e957bf-5c3e-45d8-95cc-89928d71808c"],"befores":[],"afters":[],"start":1738831757229,"stop":1738831779476}

+ 1 - 0
allure-results/a2d5d995-cb1d-4e39-a822-4bc2812356c6-container.json

@@ -0,0 +1 @@
+{"uuid":"a2d5d995-cb1d-4e39-a822-4bc2812356c6","name":"ZhengFengYunApi","children":["23e957bf-5c3e-45d8-95cc-89928d71808c"],"befores":[],"afters":[],"start":1738831757226,"stop":1738831779466}

+ 1 - 0
allure-results/e2cae21e-871b-4011-8f5d-69b05f85fa68-container.json

@@ -0,0 +1 @@
+{"uuid":"e2cae21e-871b-4011-8f5d-69b05f85fa68","name":"Default Suite","children":["a2d5d995-cb1d-4e39-a822-4bc2812356c6"],"befores":[],"afters":[],"start":1738831757224,"stop":1738831779478}

+ 17 - 17
src/test/java/page/PolicyPageTest.java

@@ -985,23 +985,23 @@ public class PolicyPageTest {
         assertTrue(response.path("data")==null);
     }
 
-    @Test
-    @Description("正常测试用例:纳入申报计划成功")
-    @Story("政策文库")
-    public void addDeclarePlanSuccess(){
-        List<Integer> projectid=policyPage.getAllprohectId();
-        List<Integer> declareplanid=policyPage.getDeclarePlanId();
-        projectid.removeAll(declareplanid);
-        HashMap<String,Object> body=new HashMap<>();
-        body.put("_file","/apijson/page/policyPage/apiPcpDeclaremanagerAddDeclarePlan.json");
-        body.put("memberId",homePage.getUserId());
-        body.put("formalId",projectid.get(0));
-        body.put("type",0);
-        Response response=policyPage.addDeclarePlan(body);
-        assertEquals((int)response.path("code"),200);
-        assertEquals(response.path("message"),"操作成功");
-        assertEquals(response.path("data"),"纳入成功");
-    }
+//    @Test
+//    @Description("正常测试用例:纳入申报计划成功")
+//    @Story("政策文库")
+//    public void addDeclarePlanSuccess(){
+//        List<Integer> projectid=policyPage.getAllprohectId();
+//        List<Integer> declareplanid=policyPage.getDeclarePlanId();
+//        projectid.removeAll(declareplanid);
+//        HashMap<String,Object> body=new HashMap<>();
+//        body.put("_file","/apijson/page/policyPage/apiPcpDeclaremanagerAddDeclarePlan.json");
+//        body.put("memberId",homePage.getUserId());
+//        body.put("formalId",projectid.get(0));
+//        body.put("type",0);
+//        Response response=policyPage.addDeclarePlan(body);
+//        assertEquals((int)response.path("code"),200);
+//        assertEquals(response.path("message"),"操作成功");
+//        assertEquals(response.path("data"),"纳入成功");
+//    }
 
     @Test
     @Description("正常测试用例:取消纳入申报计划成功")