package vid.automation.test.test;
import org.junit.Assert;
-import org.openecomp.sdc.ci.tests.utilities.GeneralUIUtils;
+import org.onap.sdc.ci.tests.utilities.GeneralUIUtils;
import org.openqa.selenium.WebElement;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import vid.automation.test.Constants;
import vid.automation.test.infra.Wait;
import vid.automation.test.sections.PnfSearchAssociationPage;
+import vid.automation.test.sections.SideMenu;
import vid.automation.test.sections.VidBasePage;
import vid.automation.test.sections.ViewEditPage;
import vid.automation.test.services.BulkRegistration;
private String pnfInstanceName = "MX_960-F722";
private String pnfModelName = "pnf 0";
+ @BeforeMethod
+ public void navigateToWelcomePage() {
+ SideMenu.navigateToWelcomePage();
+ }
+
@Test
public void testAssociatePnf() throws Exception {
SimulatorApi.clearAll();
//ubscriber NameModel Invariant UUID
elementTestId = Constants.ServiceModelInfo.INFO_TEST_ID_PREFIX + Constants.ServiceModelInfo.SUBSCRIBER_NAME_KEY;
infoItemText = GeneralUIUtils.getWebElementByTestID(elementTestId, 60).getText();
- Assert.assertEquals(String.format(Constants.ServiceModelInfo.METADETA_ERROR_MESSAGE,elementTestId),infoItemText,"USP VOICE");
+ Assert.assertEquals(String.format(Constants.ServiceModelInfo.METADETA_ERROR_MESSAGE,elementTestId),infoItemText,"SILVIA ROBBINS");
//Model Version
elementTestId = Constants.ServiceModelInfo.INFO_TEST_ID_PREFIX + Constants.ServiceModelInfo.MODEL_VERSION;
infoItemText = GeneralUIUtils.getWebElementByTestID(elementTestId, 60).getText();