From 9ffdb63f01a939b09a24a3d49d700d71948bd1a7 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Mon, 22 Oct 2018 16:54:02 +0300 Subject: new UI onboarding test Change-Id: I2594e1d4e5c1112bb7845d9fd69d88ceb1e0fa67 Issue-ID: SDC-1854 Signed-off-by: Yuli Shlosberg --- .../openecomp/sdc/ci/tests/execute/sanity/OnboardingFlowsUI.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ui-ci/src/main/java/org') diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/OnboardingFlowsUI.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/OnboardingFlowsUI.java index 1a14410266..77b2a0a80a 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/OnboardingFlowsUI.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/OnboardingFlowsUI.java @@ -98,6 +98,15 @@ public class OnboardingFlowsUI extends SetupCDTest { runOnboardToDistributionFlow(resourceReqDetails, serviceReqDetails, filePath, vnfFile); } + @Test(dataProviderClass = org.openecomp.sdc.ci.tests.dataProviders.OnbordingDataProviders.class, dataProvider = "Single_VNF") + public void onapOnboardVNFflow(String filePath, String vnfFile) throws Exception, Throwable { + setLog(vnfFile); + ResourceReqDetails resourceReqDetails = ElementFactory.getDefaultResource();//getResourceReqDetails(ComponentConfigurationTypeEnum.DEFAULT); + ServiceReqDetails serviceReqDetails = ElementFactory.getDefaultService();//getServiceReqDetails(ComponentConfigurationTypeEnum.DEFAULT); + System.out.println("print - >" + makeDistributionValue); + runOnboardToDistributionFlow(resourceReqDetails, serviceReqDetails, filePath, vnfFile); + } + public void runOnboardToDistributionFlow(ResourceReqDetails resourceReqDetails, ServiceReqDetails serviceMetadata, String filePath, String vnfFile) throws Exception { getExtendTest().log(Status.INFO, "Going to create resource with category: " + resourceReqDetails.getCategories().get(0).getName() -- cgit 1.2.3-korg