aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
diff options
context:
space:
mode:
authorikram <ikram@research.att.com>2020-08-07 15:49:11 -0400
committerKruthi Bhat <krutbhat@att.com>2020-08-10 19:21:30 +0000
commit32af6479c686d217204de3a86940ac1256da4b9f (patch)
tree98eb5135887c5bf5943099a783c9cd3d7dbbd8a4 /vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
parent09a6562a16715a2b89be11c941486be783c72364 (diff)
Visualization of the VF Module Sequencing
Issue-ID: VID-860 More scenarios covered in VID-860 for vf-module sequencing. Signed-off-by: ikram <ikram@research.att.com> Change-Id: Ie138ba2616961fba7856eaaf5f17b5dc63a08e6e
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.ts16
1 files changed, 15 insertions, 1 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
index 4595d89fc..59dfc4572 100644
--- a/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
+++ b/vid-webpack-master/cypress/support/steps/fill.service.popup.step.ts
@@ -1,7 +1,8 @@
declare namespace Cypress {
interface Chainable {
- fillServicePopup: typeof FillServicePopup
+ fillServicePopup: typeof FillServicePopup,
+ addAlacarteService: typeof addAlacarteService;
}
}
@@ -21,5 +22,18 @@ function FillServicePopup(): Chainable<any> {
});
}
+function addAlacarteService(): 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('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);
+Cypress.Commands.add('addAlacarteService', addAlacarteService);