aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts')
-rw-r--r--vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts25
1 files changed, 25 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts b/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
new file mode 100644
index 000000000..4595d89fc
--- /dev/null
+++ b/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
@@ -0,0 +1,25 @@
+
+declare namespace Cypress {
+ interface Chainable {
+ fillServicePopup: typeof FillServicePopup
+ }
+}
+
+function FillServicePopup(): Chainable<any> {
+ cy.openIframe('/app/ui/#/servicePopup?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd&isCreate=true');
+ cy.selectDropdownOptionByText('subscriberName', 'SILVIA ROBBINS');
+ cy.selectDropdownOptionByText('serviceType', 'TYLER SILVIA');
+ cy.selectDropdownOptionByText('productFamily', 'TYLER SILVIA');
+ cy.selectDropdownOptionByText('lcpRegion', 'hvf6');
+ cy.selectDropdownOptionByText('tenant', 'AIN Web Tool-15-D-testalexandria');
+ cy.selectDropdownOptionByText('aic_zone', 'NFTJSSSS-NFT1');
+ cy.selectDropdownOptionByText('project', 'WATKINS');
+ cy.selectDropdownOptionByText('owningEntity', 'aaa1');
+ cy.selectDropdownOptionByText('rollback', 'Rollback');
+ return cy.getElementByDataTestsId('form-set').click({force : true}).then((done)=>{
+ return done;
+ });
+
+}
+
+Cypress.Commands.add('fillServicePopup', FillServicePopup);