aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2020-03-25 14:00:10 +0200
committerEinat Vinouze <einat.vinouze@intl.att.com>2020-03-26 08:22:03 +0200
commit29187fc161058afd00ba38917ed3d62ed41f1d4c (patch)
tree3a32193f1b29b670c08450234eb09ed4dad45cbe /vid-webpack-master/cypress
parentb897e70b94e645068fa0e9031637a8a26c3b2e70 (diff)
Revert "VNF's LCP regions found by Line-of-business (and owning-entity)"
This reverts commit e2a7abb45b953d405fc5aa1917f74e2da9f188c0. Issue-ID: VID-788 Change-Id: I72fb7ab9d19df9157c25f635188cb3d0b1fda2cb Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Diffstat (limited to 'vid-webpack-master/cypress')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/ala-carte.e2e.ts29
1 files changed, 0 insertions, 29 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/ala-carte.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/ala-carte.e2e.ts
index 4fa3ae600..8f5341c26 100644
--- a/vid-webpack-master/cypress/integration/iFrames/ala-carte.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/ala-carte.e2e.ts
@@ -215,35 +215,6 @@ describe('A la carte', function () {
});
});
- it(`Add ALaCarte vnf where FLAG_2006_LCP_REGIONS_BY_LINE_OF_BUSINESS`, () => {
- cy.readFile('cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
- cy.setTestApiParamToGR();
- res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].service.vidNotions.instantiationType = 'ALaCarte';
- res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].service.inputs = null;
- res.global['flags'] = {'FLAG_2006_LCP_REGIONS_BY_LINE_OF_BUSINESS': true};
- cy.setReduxState(<any>res);
- cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
-
- cy.getElementByDataTestsId('node-2017-488_PASQUALE-vPE 0-add-btn').click({force: true}).then(() => {
- cy.selectDropdownOptionByText('productFamily', 'Emanuel');
- cy.selectDropdownOptionByText('lineOfBusiness', 'zzz1');
- cy.selectDropdownOptionByText('lcpRegion', 'foo-name');
- cy.selectDropdownOptionByText('tenant', 'tenantID');
- cy.selectPlatformValue(`xxx1`);
- cy.getElementByDataTestsId('form-set').click({force: true}).then(() => {
- const vnfMenuBtnDataTestId = 'node-69e09f68-8b63-4cc9-b9ff-860960b5db09-2017-488_PASQUALE-vPE 0-menu-btn';
-
- cy.getElementByDataTestsId(vnfMenuBtnDataTestId).click({force: true}).then(() => {
- cy.getElementByDataTestsId('context-menu-edit').click({force: true})
- .getElementByDataTestsId("lineOfBusiness").should('contain', 'zzz1')
- .getElementByDataTestsId("lcpRegion").should('contain', 'foo-name')
- .getElementByDataTestsId("tenant").should('contain', 'tenantName')
- });
- });
- })
- });
- });
-
it(`Add ALaCarte VfModule Without LcpRegion Tenant Id And Legacy`, () => {
addAlacarteVfmoduleByFlag(true, 'redux-a-la-carte-no-lcp-tenant.json');
});