summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-08-01 15:59:56 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-08-01 15:59:56 +0300
commit95ea3bac38467090417056254ef6e4b3165e27d7 (patch)
tree0f1dc24d0a517bb1e51bb9bfe0d9684f35256ba9 /vid-automation/src/main
parent0a078bb56030f0311081b8a24b2977d8a52e331e (diff)
handling legacy region in vfModule resume5.0.0
Issue-ID: VID-482 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If0cca27729e2d7313fd1836191a35d223e276070
Diffstat (limited to 'vid-automation/src/main')
-rw-r--r--vid-automation/src/main/java/vid/automation/test/test/SanityMacroDeployTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/test/SanityMacroDeployTest.java b/vid-automation/src/main/java/vid/automation/test/test/SanityMacroDeployTest.java
index 59c132367..df3ef9436 100644
--- a/vid-automation/src/main/java/vid/automation/test/test/SanityMacroDeployTest.java
+++ b/vid-automation/src/main/java/vid/automation/test/test/SanityMacroDeployTest.java
@@ -2,12 +2,12 @@ package vid.automation.test.test;
import com.google.common.collect.ImmutableList;
import org.junit.Assert;
+import org.onap.sdc.ci.tests.datatypes.UserCredentials;
+import org.onap.sdc.ci.tests.utilities.GeneralUIUtils;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIServiceDesignAndCreationPut;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateMacroPre1806Post;
-import org.onap.sdc.ci.tests.datatypes.UserCredentials;
-import org.onap.sdc.ci.tests.utilities.GeneralUIUtils;
import org.openqa.selenium.WebElement;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
@@ -18,6 +18,7 @@ import vid.automation.test.sections.BrowseASDCPage;
import vid.automation.test.sections.SideMenu;
import vid.automation.test.services.SimulatorApi;
+import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static vid.automation.test.infra.ModelInfo.macroForBrowseSdc;
import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
@@ -82,7 +83,7 @@ public class SanityMacroDeployTest extends CreateInstanceDialogBaseTest {
browseASDCPage.clickDeployServiceButtonByServiceUUID(macroForBrowseSdc.modelVersionId);
WebElement modalTitle = GeneralUIUtils.getWebElementByTestID(Constants.CREATE_MODAL_TITLE_ID, 30);
- Assert.assertThat(modalTitle.getText().toLowerCase(), containsString("macro"));
+ assertThat(modalTitle.getText().toLowerCase(), containsString("macro"));
GeneralUIUtils.ultimateWait();
assertServiceDetails();