Fix wait for loader after NewServiceInstanceTest popups-close
[vid.git] / vid-automation / src / main / java / vid / automation / test / test / DrawingBoardTest.java
index bacd831..e2f3380 100644 (file)
@@ -10,7 +10,6 @@ import static vid.automation.test.Constants.DrawingBoard.DEFAULT_SERVICE_NAME;
 import static vid.automation.test.Constants.DrawingBoard.DRAWING_BOARD_TREE;
 import static vid.automation.test.Constants.DrawingBoard.SEARCH_LEFT_TREE;
 import static vid.automation.test.Constants.DrawingBoard.SERVICE_QUANTITY;
-import static vid.automation.test.infra.Features.FLAG_ASYNC_INSTANTIATION;
 import static vid.automation.test.infra.ModelInfo.macroDrawingBoardComplexService;
 import static vid.automation.test.infra.ModelInfo.macroSriovNoDynamicFieldsEcompNamingFalseFullModelDetails;
 
@@ -26,7 +25,6 @@ import org.testng.annotations.Test;
 import vid.automation.test.Constants;
 import vid.automation.test.infra.Click;
 import vid.automation.test.infra.Exists;
-import vid.automation.test.infra.FeatureTogglingTest;
 import vid.automation.test.infra.Get;
 import vid.automation.test.infra.Input;
 import vid.automation.test.infra.ModelInfo;
@@ -37,7 +35,6 @@ import vid.automation.test.sections.BrowseASDCPage;
 import vid.automation.test.sections.DrawingBoardPage;
 import vid.automation.test.sections.VidBasePage;
 
-@FeatureTogglingTest(FLAG_ASYNC_INSTANTIATION)
 public class DrawingBoardTest extends VidBaseTestCase {
 
     private DrawingBoardPage drawingBoardPage = new DrawingBoardPage();
@@ -339,6 +336,7 @@ public class DrawingBoardTest extends VidBaseTestCase {
         Click.byTestId(CONTEXT_MENU_BUTTON_HEADER);
         Click.byTestId(CONTEXT_MENU_HEADER_EDIT_ITEM);
         Assert.assertTrue(Exists.byId("instance-popup"), "context menu should not appear");
+        GeneralUIUtils.ultimateWait();
         SelectOption.byIdAndVisibleText("quantity-select", String.valueOf(updatedQuantity));
         Input.replaceText(updatedInstanceName,Constants.BrowseASDC.NewServicePopup.INSTANCE_NAME );
         Click.byTestId(Constants.BrowseASDC.NewServicePopup.SET_BUTTON);
@@ -357,6 +355,7 @@ public class DrawingBoardTest extends VidBaseTestCase {
         Click.byTestId(CONTEXT_MENU_BUTTON_HEADER);
         Click.byTestId(CONTEXT_MENU_HEADER_EDIT_ITEM);
         Assert.assertTrue(Exists.byId("instance-popup"), "context menu should not appear");
+        GeneralUIUtils.ultimateWait();
         SelectOption.byIdAndVisibleText("quantity-select", String.valueOf(updatedQuantity));
         Input.replaceText(updatedInstanceName,Constants.BrowseASDC.NewServicePopup.INSTANCE_NAME );
         Click.byTestId(Constants.BrowseASDC.NewServicePopup.CANCEL_BUTTON);