From: Alexey Sandler Date: Sun, 8 Dec 2019 10:05:18 +0000 (+0200) Subject: Add existingVNFCounterMap to mock json file to display the Service Model. X-Git-Tag: 6.0.1~111^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f157a5147edc0c6a85d4644a04b7b2194adb7188;p=vid.git 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 --- 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": {