diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-12-16 13:22:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-16 13:22:19 +0000 |
commit | 31e02ef034fddefe26d48f497462015e7976f0b5 (patch) | |
tree | 9b17b52fddebd998175296aa139df0751409046a /vid-webpack-master/cypress/support | |
parent | f279146ffd395d446a58be75d6786de41b6a9381 (diff) | |
parent | f959829f573644c2b4d5ada940348ec4893d8a8c (diff) |
Merge "When opening new VNF modal the modal should be empty."
Diffstat (limited to 'vid-webpack-master/cypress/support')
-rw-r--r-- | vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts | 6 |
1 files changed, 2 insertions, 4 deletions
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<any> { +function FillVnfPopup(): Chainable<any> { 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; }); |