diff options
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(()=> { |