summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/jsonBuilders
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-10-23 17:47:34 +0300
committerIttay Stern <ittay.stern@att.com>2019-10-24 14:01:16 +0300
commit567c937f57ec575a7c25b7912016970ef138fccd (patch)
tree43b1d0de59bcc6770e4b0533b2618ba482dbfa78 /vid-webpack-master/cypress/support/jsonBuilders
parent32d04d886b60649fe036b335745cbd5fab4898b1 (diff)
Split Upgrade VF Module tests from viewEdit
Issue-ID: VID-603 Change-Id: I2edd4417dfb5f078fc10874592754d47e189d74d Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/cypress/support/jsonBuilders')
-rw-r--r--vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts b/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
index 669db055c..3e6d5e33f 100644
--- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
+++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
@@ -7,6 +7,7 @@ declare namespace Cypress {
initSearchVNFMemebers : typeof initSearchVNFMemebers;
initActiveNetworks : typeof initActiveNetworks;
initActiveVPNs : typeof initActiveVPNs;
+ initGetAAISubDetails : typeof initGetAAISubDetails;
}
}
@@ -40,9 +41,9 @@ function initGetAAISubDetails(response? : JSON) : void {
.route({
method: 'GET',
status: 200,
- url: Cypress.config('baseUrl') + "/aai_sub_details**",
+ url: Cypress.config('baseUrl') + "/aai_sub_details/**",
response: response ? response : res
- })
+ }).as('aai-sub-details')
});
}
@@ -149,6 +150,7 @@ Cypress.Commands.add('initAlaCarteService', initAlaCarteService);
Cypress.Commands.add('initZones', initZones);
Cypress.Commands.add('initTenants', initTenants);
Cypress.Commands.add('initAaiGetFullSubscribers', initAaiGetFullSubscribers);
+Cypress.Commands.add('initGetAAISubDetails', initGetAAISubDetails);
Cypress.Commands.add('initSearchVNFMemebers', initSearchVNFMemebers);
Cypress.Commands.add('initActiveNetworks', initActiveNetworks);
Cypress.Commands.add('initActiveVPNs', initActiveVPNs);