From f157a5147edc0c6a85d4644a04b7b2194adb7188 Mon Sep 17 00:00:00 2001 From: Alexey Sandler Date: Sun, 8 Dec 2019 12:05:18 +0200 Subject: Add existingVNFCounterMap to mock json file to display the Service Model. Issue-ID: VID-724 Signed-off-by: Alexey Sandler Change-Id: I97ca6efa552ee16cf163ca39446ddc34f1a719da Signed-off-by: Alexey Sandler --- .../cypress/integration/iFrames/instantiation-templates.e2e.ts | 1 + .../mocks/jsons/instantiationTemplates/templates__instance_template.json | 1 + 2 files changed, 2 insertions(+) (limited to 'vid-webpack-master') 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": { -- cgit 1.2.3-korg