From 1ee6b52b2053204601f3c50464f4c5b4b758e811 Mon Sep 17 00:00:00 2001 From: RachelF Date: Thu, 1 Aug 2019 11:06:24 +0300 Subject: Resolving testAssociatePnf Issue-ID: VID-543 Change-Id: Ib7d12d648f399096bf8d71b98249ff4994a156fc Signed-off-by: RachelF --- .../src/main/java/vid/automation/test/test/AssociatePnfTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vid-automation/src') diff --git a/vid-automation/src/main/java/vid/automation/test/test/AssociatePnfTest.java b/vid-automation/src/main/java/vid/automation/test/test/AssociatePnfTest.java index 7bec56013..03d7d4a47 100644 --- a/vid-automation/src/main/java/vid/automation/test/test/AssociatePnfTest.java +++ b/vid-automation/src/main/java/vid/automation/test/test/AssociatePnfTest.java @@ -56,6 +56,7 @@ public class AssociatePnfTest extends VidBaseTestCase { vidBasePage.assertMsoRequestModal("Error"); vidBasePage.clickCloseButton(); } + @Test public void testRainyChoosePnf() throws Exception { SimulatorApi.clearAll(); @@ -70,6 +71,7 @@ public class AssociatePnfTest extends VidBaseTestCase { boolean waitForElementResult = Wait.waitByTestId(Constants.ViewEdit.VNF_OPTION_TEST_ID_PREFIX + pnfName, 60); Assert.assertTrue(message, !waitForElementResult); } + @Test public void testRainySearchPnfInstance() throws Exception { SimulatorApi.clearAll(); @@ -98,6 +100,7 @@ public class AssociatePnfTest extends VidBaseTestCase { } GeneralUIUtils.ultimateWait(); } + private void associatePNF() throws InterruptedException { pnfSearchAssociationPage.clickAssociateButton(); } @@ -118,6 +121,7 @@ public class AssociatePnfTest extends VidBaseTestCase { Wait.angularHttpRequestsLoaded(); assertAssociateButtonState(true); } + private void checkServiceModelInfo() { Wait.angularHttpRequestsLoaded(); //Service name @@ -188,7 +192,4 @@ public class AssociatePnfTest extends VidBaseTestCase { infoItemText = GeneralUIUtils.getWebElementByTestID(elementTestId, 60).getText(); Assert.assertEquals(String.format(Constants.PnfAssociation.PNF_INSTANCE_ERROR_MESSAGE,elementTestId),infoItemText,"ASR1002-X"); } - - - } -- cgit 1.2.3-korg