aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts
diff options
context:
space:
mode:
authorYoav Schneiderman <yoav.schneiderman@intl.att.com>2019-12-12 16:11:59 +0200
committerEinat Vinouze <einat.vinouze@intl.att.com>2019-12-16 13:51:28 +0200
commitf959829f573644c2b4d5ada940348ec4893d8a8c (patch)
tree3fb5ce8490e7998a073468489fd92d4e2c74bfdc /vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts
parent17f0c14e91f9a76e18c86e529a477d4b2927ce8d (diff)
When opening new VNF modal the modal should be empty.
Issue-ID: VID-727 Change-Id: I29a83ae7460c30661ad5d99860bcddda5a2936be Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Diffstat (limited to 'vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts')
-rw-r--r--vid-webpack-master/cypress/support/steps/fill.vnf.popup.step.ts6
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;
});