summaryrefslogtreecommitdiffstats
path: root/vid-automation
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation')
-rw-r--r--vid-automation/src/main/java/vid/automation/test/infra/Features.java1
-rw-r--r--vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java3
2 files changed, 4 insertions, 0 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/infra/Features.java b/vid-automation/src/main/java/vid/automation/test/infra/Features.java
index 6be6870c2..f55053497 100644
--- a/vid-automation/src/main/java/vid/automation/test/infra/Features.java
+++ b/vid-automation/src/main/java/vid/automation/test/infra/Features.java
@@ -56,6 +56,7 @@ public enum Features implements Feature {
FLAG_2002_IDENTIFY_INVARIANT_MACRO_UUID_BY_BACKEND,
FLAG_2004_CREATE_ANOTHER_INSTANCE_FROM_TEMPLATE,
FLAG_2002_UNLIMITED_MAX,
+ FLAG_2004_INSTANTIATION_TEMPLATES_POPUP,
;
public boolean isActive() {
diff --git a/vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java b/vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java
index a540bf0be..f2b0fb19c 100644
--- a/vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java
+++ b/vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java
@@ -8,6 +8,7 @@ import static vid.automation.test.Constants.BrowseASDC.NewServicePopup.SET_BUTTO
import static vid.automation.test.Constants.DrawingBoard.CONTEXT_MENU_BUTTON_HEADER;
import static vid.automation.test.Constants.DrawingBoard.CONTEXT_MENU_HEADER_EDIT_ITEM;
import static vid.automation.test.Constants.DrawingBoard.DEPLOY_BUTTON;
+import static vid.automation.test.infra.Features.FLAG_2004_INSTANTIATION_TEMPLATES_POPUP;
import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
@@ -25,6 +26,7 @@ import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import vid.automation.test.infra.Click;
+import vid.automation.test.infra.FeatureTogglingTest;
import vid.automation.test.infra.Get;
import vid.automation.test.infra.Input;
import vid.automation.test.infra.ModelInfo;
@@ -61,6 +63,7 @@ public class TemplateInstantiationTest extends ModernUITestBase {
drawing board is opened -> edit service instance name -> deploy ->
instantiation status is opened -> wait for service to completed.
*/
+ @FeatureTogglingTest(FLAG_2004_INSTANTIATION_TEMPLATES_POPUP)
@Test
public void instantiateALaCarteServiceFromTemplateTest() {