summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-12-15 08:14:03 +0200
committerEylon Malin <eylon.malin@intl.att.com>2019-12-15 08:14:03 +0200
commit8079f0971f747e3642ba262d7ff0a9d09dada57a (patch)
tree086488a8f8a6ab8db195951d59cadf905a900ee2 /vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts
parente67154b1aed0732d410cb7fd4efcebdc2eb8d353 (diff)
when there is no max instances for VfModule show Unlimited (default) in model info
Issue-ID: VID-726 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3718c0f89204d5272872dca18f3e953e05a94dfe
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts
index 133dbe72a..4eb5445ad 100644
--- a/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/drawingBoard.e2e.ts
@@ -257,6 +257,12 @@ describe('Drawing board', function () {
cy.addMacroVfModule(vnfName, vfModuleName, 'module-3');
cy.getElementByDataTestsId('node-d6557200-ecf2-4641-8094-5393ae3aae60-VF_vGeraldine 0').click();
cy.getElementByDataTestsId('node-41708296-e443-4c71-953f-d9a010f059e1-vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2').should('have.length', 3);
+
+ //make sure max instances in model info show Unlimited (default)
+ cy.drawingBoardTreeOpenContextMenuByElementDataTestId('node-41708296-e443-4c71-953f-d9a010f059e1-vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2', 0)
+ .drawingBoardTreeClickOnContextMenuOptionByName('Edit')
+ .getElementByDataTestsId('model-item-value-max').contains('Unlimited (default)')
+ .getElementByDataTestsId("cancelButton").click();
});
it('when there is no max_instances for VNF, it can be added multiple times ', () => {