Eazin 4 months ago
parent
commit
d0a814fbf2
2 changed files with 1 additions and 38 deletions
  1. 1 1
      src/main/resources/conf/config.yaml
  2. 0 37
      src/test/java/page/ClareStewardPageTest.java

+ 1 - 1
src/main/resources/conf/config.yaml

@@ -1,7 +1,7 @@
 current: pro
 #username: 15920464818
 username: 15916351310
-password: 123456a
+password: 7NmSYWYx
 env:
   test:
     "ctxt.po-o.cn": "ctxt.po-o.cn"

+ 0 - 37
src/test/java/page/ClareStewardPageTest.java

@@ -44,9 +44,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.getLastDeclarePlan:【申报计划】获取历史申报计划,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.getLastDeclarePlan:【申报计划】获取历史申报计划,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -74,9 +71,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.getDeclarePlan:【申报计划】获取申报计划,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.getDeclarePlan:【申报计划】获取申报计划,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -100,9 +94,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.allGetSupportingMater:【佐证材料】查询全部佐证材料,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.allGetSupportingMater:【佐证材料】查询全部佐证材料,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -168,9 +159,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.indateAddSupportingMaterials:【佐证材料】设置有效期,保存佐证材料,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.indateAddSupportingMaterials:【佐证材料】设置有效期,保存佐证材料,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -197,9 +185,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.unlimitedAddSupportingMaterials:【佐证材料】设置无期限,保存佐证材料,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.unlimitedAddSupportingMaterials:【佐证材料】设置无期限,保存佐证材料,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -222,9 +207,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.childidEmptyAddSupportingMaterials:【佐证材料】分类为空,保存佐证材料失败,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.childidEmptyAddSupportingMaterials:【佐证材料】分类为空,保存佐证材料失败,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -247,9 +229,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.fileEmptyAddSupportingMaterials:【佐证材料】文件为空,保存佐证材料失败,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.fileEmptyAddSupportingMaterials:【佐证材料】文件为空,保存佐证材料失败,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -276,9 +255,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.indateEmptyAddSupportingMaterials:【佐证材料】有效期为空,保存佐证材料失败,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.indateEmptyAddSupportingMaterials:【佐证材料】有效期为空,保存佐证材料失败,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -302,9 +278,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.allEmptyAddSupportingMaterials:【佐证材料】有效期为空,保存佐证材料失败,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.allEmptyAddSupportingMaterials:【佐证材料】有效期为空,保存佐证材料失败,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -328,9 +301,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.updateSupportingMaterials:【佐证材料】编辑佐证材料,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.updateSupportingMaterials:【佐证材料】编辑佐证材料,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -353,9 +323,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.typeEmptyUpdateSupportingMaterials:【佐证材料】分类为空,编辑佐证材料失败,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.typeEmptyUpdateSupportingMaterials:【佐证材料】分类为空,编辑佐证材料失败,元素定位失败!");
-            throw  e;
         }
     }
 
@@ -375,10 +342,6 @@ public class ClareStewardPageTest {
         }catch (AssertionError e){
             Reporter.log("ClareStewardPageTest.deleteSupportingMaterials:【佐证材料】删除佐证材料,断言失败!");
             throw  e;
-        }catch (Exception e){
-            Reporter.log("ClareStewardPageTest.deleteSupportingMaterials:【佐证材料】删除佐证材料,元素定位失败!");
-            throw  e;
         }
     }
-
 }