From 567c937f57ec575a7c25b7912016970ef138fccd Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Wed, 23 Oct 2019 17:47:34 +0300 Subject: Split Upgrade VF Module tests from viewEdit Issue-ID: VID-603 Change-Id: I2edd4417dfb5f078fc10874592754d47e189d74d Signed-off-by: Ittay Stern --- vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vid-webpack-master/cypress/support/jsonBuilders/mocks') 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); -- cgit 1.2.3-korg