summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress
diff options
context:
space:
mode:
authorAlexey Sandler <alexey.sandler@intl.att.com>2019-12-24 21:15:40 +0200
committerAlexey Sandler <alexey.sandler@intl.att.com>2019-12-24 21:51:24 +0200
commit31b3d53dbd80b8bb7dd2ac778cc53d2384a3abd9 (patch)
treedeeebcb5e6af7fe020c4c7997a3e6d6905d923e1 /vid-webpack-master/cypress
parent206d87766f6547934bf4298de326c63c8e31481a (diff)
Convert template summary from json to string.
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Icfe469b538c3dd5f82f95617ebbd6093b9e451dc Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Diffstat (limited to 'vid-webpack-master/cypress')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
index e55b1dcd1..3786bc5e8 100644
--- a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
@@ -38,7 +38,12 @@ describe('Template', () => {
"serviceModelName": "action-data",
"serviceModelVersion": "1.0",
"createdBulkDate": 1525075968000,
- "isRetryEnabled": true
+ "isRetryEnabled": true,
+ "requestSummary": {
+ "vnf": 2,
+ "vfModule": 3,
+ "network": 1
+ }
},
{
"id": 7,
@@ -139,6 +144,7 @@ describe('Template', () => {
cy.getElementByDataTestsId(`createDate-${instantiationTemplates[0].jobId}`).contains('2018-04-30 11:12:48');
cy.getElementByDataTestsId(`instanceName-${instantiationTemplates[0].jobId}`).contains('nWUfl instance name_002');
cy.getElementByDataTestsId(`instantiationStatus-${instantiationTemplates[0].jobId}`).contains('FAILED');
+ cy.getElementByDataTestsId(`summary-${instantiationTemplates[0].jobId}`).contains('{"vnf":2,"vfModule":3,"network":1}');
cy.getElementByDataTestsId(`region-${instantiationTemplates[0].jobId}`).contains('hvf6 (WAYNEHOLLAND)');
cy.getElementByDataTestsId(`tenant-${instantiationTemplates[0].jobId}`).contains('AIN Web Tool-15-D-testalexandria');
cy.getElementByDataTestsId(`aicZone-${instantiationTemplates[0].jobId}`).contains('NFTJSSSS-NFT1');