From cb7a00bf89efca5b784120e990f79c475347e89d Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 15 Oct 2019 10:23:08 +0100 Subject: Increase junit TCs 1. Re-enable disabled TCs (enable = true) 2. Enable @Ignored TCs 3. Add some Assert when missing 4. Remove old unused TCs (covered in UI) Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2672 --- .../openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java | 2 +- .../org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java | 6 +++--- .../java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java | 2 +- .../java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java | 8 ++++---- .../tests/execute/sanity/VfDeploymentInformationalArtifacts.java | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'ui-ci/src/main') diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java index b1a5b5060e..5dd7412666 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java @@ -103,7 +103,7 @@ public class AdminUserManagment extends SetupCDTest { // design changed and now one letter user should exist //TC922253 - @Test(enabled = false) + @Test(enabled = true) public void createInvalidMacIdTest() { ExtentTestActions.log(Status.INFO, "Open bug 324032"); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java index f9cb233448..5e240c025b 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java @@ -289,7 +289,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addUpdateDeleteSimplePropertiesToDCAEAssetTest() throws Exception { createDCAEAsset(); @@ -313,7 +313,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void DCAEAssetInstancesInputScreenTest() throws Exception { createDCAEAsset(); @@ -454,7 +454,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addPropertyInCompositionScreenDCAEAssetTest() throws Exception { createDCAEAsset(); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java index fc4dd88185..df94a14b58 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java @@ -569,7 +569,7 @@ public class Service extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void inputsTest() throws Exception { String fileName = "service_input_test_VF2.csar"; diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java index fe6718eea2..accea723b8 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java @@ -340,7 +340,7 @@ public class VfAPI extends SetupCDTest { }*/ // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addUpdateDeleteSimplePropertiesToVfTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); @@ -366,7 +366,7 @@ public class VfAPI extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void vfcInstancesInputScreenTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); @@ -450,7 +450,7 @@ public class VfAPI extends SetupCDTest { VfVerificator.verifyToscaArtifactsInfo(vfMetaData, getUser()); } - @Test(enabled = false) + @Test(enabled = true) public void testDownload() throws Exception { // ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); // ResourceUIUtils.createResource(vfMetaData, getUser()); @@ -542,7 +542,7 @@ public class VfAPI extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addPropertyInCompositionScreenTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java index f0d9d720ef..4523571085 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java @@ -204,7 +204,7 @@ public class VfDeploymentInformationalArtifacts extends SetupCDTest { // TC1438232 - Import VF Artifacts - Informational Artifacts - Artifact Name To Long // TODO: make informational artifact name longer then 255 // TODO: windows/linux not allowed it - @Test(enabled = false) + @Test(enabled = true) public void importVfArtifactsInformationalArtifactsArtifactNameToLong() throws Exception { String folder = "US825779"; ResourceReqDetails resourceMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); -- cgit 1.2.3-korg