aboutsummaryrefslogtreecommitdiffstats
path: root/ui-ci/src/main/resources
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2019-11-15 10:07:12 +0000
committerandre.schmid <andre.schmid@est.tech>2019-11-21 09:08:34 +0000
commit8b0c94492906d7db528af73834c0d2299b8eb382 (patch)
tree08d271940ff9507aadb758eb8740a49ac6aa91df /ui-ci/src/main/resources
parentfa1db43d43abd43a8f18bb26d0054de41fdb2a22 (diff)
Fix to stabilize sanity ui test suite
Fix the selection of the Resource Composition screen. Fix the search for a Resource in the home screen. Refactor some related classes, mainly removing exceptions not thrown, correcting typos, removing unused/commented code, fixing SonarQube issues. Improve the logs and report logs. Change-Id: I89b5a0d89652367520cededa6744831492bbbaba Issue-ID: SDC-2648 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'ui-ci/src/main/resources')
-rw-r--r--ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml2
-rw-r--r--ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml2
-rw-r--r--ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml43
-rw-r--r--ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml44
4 files changed, 45 insertions, 46 deletions
diff --git a/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml b/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml
index 8802e9f8ef..acf4be4be3 100644
--- a/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml
+++ b/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml
@@ -4,7 +4,7 @@
<test name="uitests">
<classes>
<!--onboard-->
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUI">
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi">
<methods>
<include name="onboardVNFTestSanityOneFile"/>
</methods>
diff --git a/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml b/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml
index 1e295a2793..00b98c9f23 100644
--- a/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml
+++ b/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml
@@ -7,7 +7,7 @@
<classes>
<class name="org.openecomp.sdc.ci.tests.execute.sanity.ToscaValidationTest"/>
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUI">
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi">
<methods>
<exclude name="onboardVNFTestSanity"/>
<exclude name="onboardVNFShotFlow"/>
diff --git a/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml b/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml
index 3945088218..245524d0e8 100644
--- a/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml
+++ b/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml
@@ -1,34 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
-<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1">
+<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1"
+ data-provider-thread-count="1">
- <parameter name="makeDistribution" value="false"/>
+ <parameter name="makeDistribution" value="false"/>
<test name="uiSanity">
<classes>
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf">
- <methods>
- <include name="changeInstanceNameInVfTest"/>
- </methods>
- </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf">
+ <methods>
+ <include name="changeInstanceNameInVfTest"/>
+ </methods>
+ </class>
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service">
- <methods>
- <include name="updateService"/>
- </methods>
- </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service">
+ <methods>
+ <include name="updateService"/>
+ </methods>
+ </class>
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUI">
- <methods>
- <include name="onapOnboardVNFflow"/>
- <include name="onapOnboardVSPValidationsSanityFlow"/>
- </methods>
- </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi">
+ <methods>
+ <include name="onapOnboardVNFflow"/>
+ <include name="onapOnboardVSPValidationsSanityFlow"/>
+ </methods>
+ </class>
-
-
</classes>
- </test> <!-- uitests -->
-</suite> <!-- uisuite --> \ No newline at end of file
+ </test>
+</suite>
diff --git a/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml b/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml
index f159548fc2..71677a95a5 100644
--- a/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml
+++ b/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml
@@ -1,23 +1,23 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
-<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1">
-
- <parameter name="makeDistribution" value="false"/>
-
- <test name="vspValidationAllFlows">
- <classes>
-
- <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUI">
- <methods>
- <include name="onapOnboardVSPValidationsSanityFlow"/>
- <include name="onapOnboardVSPValidationsConfigurationChangeCheck"/>
- <include name="onapOnboardVSPCertificationQueryFlow"/>
- <include name="onapOnboardVSPComplianceCheckFlow"/>
- <include name="onapOnboardVSPComplianceCheckOperations"/>
- <include name="onapOnboardVSPCertificationQueryOperations"/>
- </methods>
- </class>
-
- </classes>
- </test> <!-- uitests -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1">
+
+ <parameter name="makeDistribution" value="false"/>
+
+ <test name="vspValidationAllFlows">
+ <classes>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi">
+ <methods>
+ <include name="onapOnboardVSPValidationsSanityFlow"/>
+ <include name="onapOnboardVSPValidationsConfigurationChangeCheck"/>
+ <include name="onapOnboardVSPCertificationQueryFlow"/>
+ <include name="onapOnboardVSPComplianceCheckFlow"/>
+ <include name="onapOnboardVSPComplianceCheckOperations"/>
+ <include name="onapOnboardVSPCertificationQueryOperations"/>
+ </methods>
+ </class>
+
+ </classes>
+ </test> <!-- uitests -->
</suite> <!-- uisuite --> \ No newline at end of file