diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2020-01-15 21:05:25 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2020-01-15 21:09:14 +0200 |
commit | b2051451afacc4ab025f6ce10bb5b8e0191e9e1f (patch) | |
tree | c4d0e4c04f3c697bce2f0402bcc83a272d86a655 /vid-automation/src/main | |
parent | a5ef7f14f2cdbbbc8de2f8b338f5ef920751d071 (diff) |
toggle e2e template test with proper feature flag
Issue-ID: VID-724
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Id017e48fa997c5d9a1375fab4bd5a30a3bd719cd
Diffstat (limited to 'vid-automation/src/main')
-rw-r--r-- | vid-automation/src/main/java/vid/automation/test/infra/Features.java | 1 | ||||
-rw-r--r-- | vid-automation/src/main/java/vid/automation/test/test/TemplateInstantiationTest.java | 3 |
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() { |