From f995db01ee95606b6cded82822a73435ebc190c8 Mon Sep 17 00:00:00 2001 From: vasraz Date: Fri, 9 Dec 2022 12:36:05 +0000 Subject: Add support comparable type constraints for scalar values Signed-off-by: Vasyl Razinkov Change-Id: I57234399f23721506d308dfb8351067845ebe892 Issue-ID: SDC-4305 --- .../frontend/ci/tests/execute/sanity/ModelToscaTypeImportTest.java | 4 ++-- .../ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'integration-tests') diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ModelToscaTypeImportTest.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ModelToscaTypeImportTest.java index 3e8b0297a2..a07c5835e0 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ModelToscaTypeImportTest.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ModelToscaTypeImportTest.java @@ -135,7 +135,7 @@ public class ModelToscaTypeImportTest extends SetupCDTest { final Map propertyMap = new HashMap<>(); propertyMap.put("AdditionalServiceData", ADDITIONAL_SERVICE_DATA); - resourceCreatePage = addProperty(serviceComponentPage, propertyMap, vf.getName()); + resourceCreatePage = addProperty(serviceComponentPage, propertyMap); final var downloadCsarArtifactFlow = new DownloadCsarArtifactFlow(webDriver); downloadCsarArtifactFlow.setWaitBeforeGetTheFile(5L); @@ -158,7 +158,7 @@ public class ModelToscaTypeImportTest extends SetupCDTest { assertTrue(csarFiles.values().stream().filter(bytes -> new String(bytes).contains(ADDITIONAL_SERVICE_DATA)).findAny().isPresent()); } - private ComponentPage addProperty(ComponentPage serviceComponentPage, final Map propertyMap, String name) { + private ComponentPage addProperty(ComponentPage serviceComponentPage, final Map propertyMap) { final AddComponentPropertyFlow addComponentPropertyFlow = new AddComponentPropertyFlow(webDriver, propertyMap); serviceComponentPage.isLoaded(); final ComponentPage resourcePropertiesAssignmentPage = serviceComponentPage.goToPropertiesAssignment(); diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java index 96193f69a2..706a6663d8 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java @@ -867,7 +867,7 @@ public class ServiceTemplateDesignUiTests extends SetupCDTest { stringMap.put("PropMapKey2", "PropMapValue2"); stringMap.put("PropMapKey3", "PropMapValue3"); propertyMap.put("property5", stringMap); - propertyMap.put("property6", 500); + propertyMap.put("property6", "500 GB"); return propertyMap; } -- cgit 1.2.3-korg