summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Sandler <alexey.sandler@intl.att.com>2019-12-08 12:05:18 +0200
committerAlexey Sandler <alexey.sandler@intl.att.com>2019-12-08 13:12:48 +0200
commitf157a5147edc0c6a85d4644a04b7b2194adb7188 (patch)
treee1ed4822130888e31abb3b9b4f121dd1df8bca27
parentf53a917032b6c71c3d2b8f536244d4ba2611c068 (diff)
Add existingVNFCounterMap to mock json file to display the Service Model.
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I97ca6efa552ee16cf163ca39446ddc34f1a719da Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts1
-rw-r--r--vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts
index 0b19b667c..253352729 100644
--- a/vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts
@@ -41,6 +41,7 @@ describe('Drawing Board: Instantiation Templates', function () {
cy.wait('@serviceModel');
cy.wait('@templateTopology');
+ cy.getElementByDataTestsId("node-vProbe_NC_VNF 0").should('be.visible');
cy.getDrawingBoardDeployBtn().click();
diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json
index 3a59dd16b..10ddc7384 100644
--- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json
+++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json
@@ -24,6 +24,7 @@
"isALaCarte": true,
"testApi": "GR_API",
"trackById": "36601560-f8e3-4020-bdef-3e4709c51e84",
+ "existingVNFCounterMap": {"024a417d-ca46-40bf-95ce-809c6a269011": 1},
"vnfs": {
"vProbe_NC_VNF 0": {
"modelInfo": {