summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-10-22 16:54:02 +0300
committerMichael Lando <michael.lando@intl.att.com>2018-10-23 13:53:36 +0000
commit9ffdb63f01a939b09a24a3d49d700d71948bd1a7 (patch)
treec574ffa815ec94c07489bca6de23c7cbb45a57a8 /test-apis-ci/src/main/java/org/openecomp
parent2dadfcd572cc081644f74a0c03dbc4dbd4a339b9 (diff)
new UI onboarding test
Change-Id: I2594e1d4e5c1112bb7845d9fd69d88ceb1e0fa67 Issue-ID: SDC-1854 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'test-apis-ci/src/main/java/org/openecomp')
-rw-r--r--test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
index b61daf8075..9f9fd99bd9 100644
--- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
+++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
@@ -29,12 +29,19 @@ public class OnbordingDataProviders {
@DataProvider(name = "VNF_List" , parallel = true)
private static final Object[][] VnfList() throws Exception {
-
List<String> fileNamesFromFolder = OnboardingUtils.getVnfNamesFileList();
-
System.out.println(String.format("There are %s zip file(s) to test", fileNamesFromFolder.size()));
return provideData(fileNamesFromFolder, filepath);
}
+
+ @DataProvider(name = "Single_VNF" , parallel = true)
+ private static final Object[][] SingleVNF() throws Exception {
+ List<String> fileNamesFromFolder = OnboardingUtils.getVnfNamesFileList();
+ List<String> newList = new ArrayList<>();
+ newList.add(fileNamesFromFolder.get(0));
+ System.out.println(String.format("There are %s zip file(s) to test", fileNamesFromFolder.size()));
+ return provideData(newList, filepath);
+ }
// -----------------------factories-----------------------------------------