2 declare namespace Cypress {
4 fillServicePopup: typeof FillServicePopup,
5 addAlacarteService: typeof addAlacarteService;
9 function FillServicePopup(): Chainable<any> {
10 cy.openIframe('/app/ui/#/servicePopup?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd&isCreate=true');
11 cy.selectDropdownOptionByText('subscriberName', 'SILVIA ROBBINS');
12 cy.selectDropdownOptionByText('serviceType', 'TYLER SILVIA');
13 cy.selectDropdownOptionByText('productFamily', 'TYLER SILVIA');
14 cy.selectDropdownOptionByText('lcpRegion', 'hvf6');
15 cy.selectDropdownOptionByText('tenant', 'AIN Web Tool-15-D-testalexandria');
16 cy.selectDropdownOptionByText('aic_zone', 'NFTJSSSS-NFT1');
17 cy.selectDropdownOptionByText('project', 'WATKINS');
18 cy.selectDropdownOptionByText('owningEntity', 'aaa1');
19 cy.selectDropdownOptionByText('rollback', 'Rollback');
20 return cy.getElementByDataTestsId('form-set').click({force : true}).then((done)=>{
25 function addAlacarteService(): Chainable<any> {
26 cy.openIframe('/app/ui/#/servicePopup?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd&isCreate=true');
27 cy.selectDropdownOptionByText('subscriberName', 'SILVIA ROBBINS');
28 cy.selectDropdownOptionByText('serviceType', 'TYLER SILVIA');
29 cy.selectDropdownOptionByText('project', 'WATKINS');
30 cy.selectDropdownOptionByText('owningEntity', 'aaa1');
31 cy.selectDropdownOptionByText('rollback', 'Rollback');
32 return cy.getElementByDataTestsId('form-set').click({force : true}).then((done)=>{
38 Cypress.Commands.add('fillServicePopup', FillServicePopup);
39 Cypress.Commands.add('addAlacarteService', addAlacarteService);