diff options
author | Amichai Hemli <amichai.hemli@intl.att.com> | 2019-10-24 14:28:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-24 14:28:07 +0000 |
commit | e63fe3aa29fc637d57f5dbf92dda200685be790b (patch) | |
tree | ec22280a87583ef9f38d77475b3bc7b9d885a501 /vid-webpack-master/cypress/support/jsonBuilders/mocks | |
parent | 67f6ab5e1c890fcb636e78fcd5b9502746e6a794 (diff) | |
parent | 567c937f57ec575a7c25b7912016970ef138fccd (diff) |
Merge "Split Upgrade VF Module tests from viewEdit"
Diffstat (limited to 'vid-webpack-master/cypress/support/jsonBuilders/mocks')
-rw-r--r-- | vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts | 6 |
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); |