diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-28 10:53:54 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-28 13:52:01 +0200 |
commit | c9707d48ef35950b5cbd9a62a57154cd4b1596ca (patch) | |
tree | 64944e5e7be7f7ab8cd61dc364bfe573ce94013c /vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts | |
parent | b5c0e4917e6ae42dc798fe9b58d1710c96f36556 (diff) |
remove FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE
Issue-ID: VID-721
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I80e3f8edbc187acaf13fdcc089ba15da33dc0ec5
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts index 2d4d631b3..ab13f92fe 100644 --- a/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts @@ -67,38 +67,13 @@ describe('Resume tests', function () { cy.screenshot(); }); - it(`Resume Defect 710619 - with flag FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE is ON`, function () { + it(`Resume Defect 710619`, function () { cy.visit('/serviceModels.htm#/instantiate?subscriberId=e433710f-9217-458d-a79d-1c7aff376d89&subscriberName=SILVIA ROBBINS&serviceType=TYLER%20SILVIA&serviceInstanceId=dedd680f-f3bd-46d8-97c7-b6fc28db9317&aaiModelVersionId=4b60252a-bf6c-40df-9db5-98b4c363fdf4&isPermitted=true').then(()=>{ cy.wait('@service-complexService'); checkResumeAndPopup("dpa2bccfx5992v_base_module","vfModuleTreeNode-assigned"); }); }); - it(`Resume Defect 710619 - with flag FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE is OFF`, function () { - - cy.readFile('cypress/support/jsonBuilders/mocks/jsons/flags.cypress.json').then((res) => { - cy.server() - .route({ - method: 'GET', - delay : 0, - status : 200, - url : Cypress.config('baseUrl') + "/flags**", - response : { - "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST" : true, - "FLAG_ADD_MSO_TESTAPI_FIELD": true, - "FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE": false - } - }).as('initFlags'); - }); - - cy.visit('/serviceModels.htm#/instantiate?subscriberId=e433710f-9217-458d-a79d-1c7aff376d89&subscriberName=SILVIA ROBBINS&serviceType=TYLER%20SILVIA&serviceInstanceId=dedd680f-f3bd-46d8-97c7-b6fc28db9317&aaiModelVersionId=4b60252a-bf6c-40df-9db5-98b4c363fdf4&isPermitted=true'); - cy.wait('@service-complexService'); - - checkResumeAndPopup("dpa2bccfx5992v_base_module","vfModuleTreeNode-assigned"); - - }); - - function checkResumeAndPopup(vfModuleName:string, vfModuleClassName:string) { cy.get('div').find('.' + vfModuleClassName) .getElementByDataTestsId('resumeVFModuleButton-' + vfModuleName).click().then(()=> { |