From f959829f573644c2b4d5ada940348ec4893d8a8c Mon Sep 17 00:00:00 2001 From: Yoav Schneiderman Date: Thu, 12 Dec 2019 16:11:59 +0200 Subject: When opening new VNF modal the modal should be empty. Issue-ID: VID-727 Change-Id: I29a83ae7460c30661ad5d99860bcddda5a2936be Signed-off-by: Yoav Schneiderman Signed-off-by: Einat Vinouze --- vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts') diff --git a/vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts b/vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts index 3e91f7719..29166f67d 100644 --- a/vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts +++ b/vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts @@ -7,14 +7,12 @@ declare namespace Cypress { duplicateVnf: typeof DuplicateVnf, } } -function FillVnfPopup(changePlatformValue?: boolean): Chainable { +function FillVnfPopup(): Chainable { cy.selectDropdownOptionByText('productFamily', 'Emanuel'); cy.selectDropdownOptionByText('lcpRegion', 'hvf6'); cy.selectDropdownOptionByText('tenant', 'AIN Web Tool-15-D-STTest2'); cy.selectDropdownOptionByText('lineOfBusiness', 'zzz1'); - if(changePlatformValue === true){ - cy.selectPlatformValue('xxx1') - } + cy.selectPlatformValue('xxx1'); return cy.getElementByDataTestsId('form-set').click({force : true}).then((done)=>{ return done; }); -- cgit 1.2.3-korg