Updated wait time for file upload related test cases and added numbering for test cases.
This commit is contained in:
parent
ec9298ee0f
commit
5549072059
|
@ -84,7 +84,7 @@ const submitWithUser = (
|
|||
// .click();
|
||||
// }
|
||||
|
||||
cy.wait(5000);
|
||||
cy.wait(10000);
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
};
|
||||
|
@ -113,10 +113,10 @@ const checkProcessInstanceCompleted = (
|
|||
}
|
||||
|
||||
// Consulting Fees Path - Without Files
|
||||
describe.only('Consulting Fees Path - Without Files', () => {
|
||||
describe('Consulting Fees Path - Without Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Budget owner approves the request
|
||||
it('Budget owner approves', () => {
|
||||
it('1.Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -261,7 +261,7 @@ describe.only('Consulting Fees Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('2.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -404,7 +404,7 @@ describe.only('Consulting Fees Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('3.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -569,10 +569,10 @@ describe.only('Consulting Fees Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Consulting Fees Path - With Files
|
||||
describe('Consulting Fees Path - With Files', () => {
|
||||
describe.only('Consulting Fees Path - With Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Budget owner approves the request
|
||||
it('Budget owner approves', () => {
|
||||
it('4.Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -740,7 +740,7 @@ describe('Consulting Fees Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
|
@ -764,7 +764,7 @@ describe('Consulting Fees Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('5.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -930,7 +930,7 @@ describe('Consulting Fees Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -957,7 +957,7 @@ describe('Consulting Fees Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('6.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1123,7 +1123,7 @@ describe('Consulting Fees Path - With Files', () => {
|
|||
cy.get('button')
|
||||
.contains(/^Submit$/)
|
||||
.click();
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
|
|
@ -90,7 +90,7 @@ const submitWithUser = (
|
|||
// .click();
|
||||
// }
|
||||
|
||||
cy.wait(5000);
|
||||
cy.wait(10000);
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
};
|
||||
|
@ -119,10 +119,10 @@ const checkProcessInstanceCompleted = (
|
|||
}
|
||||
|
||||
// Equipment Path - Without Files
|
||||
describe.only('Equipment Path - Without Files', () => {
|
||||
describe('Equipment Path - Without Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Out of Policy. People Ops Partner Group and Budget owner approves the request
|
||||
it('Out of Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
it('1.Out of Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -294,7 +294,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Out of Policy. People Ops Partner Group approves and Budget owner rejects the request
|
||||
it('Out of Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
it('2.Out of Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -423,7 +423,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Out of Policy. People Ops Partner Group approves and Budget owner request for additional details
|
||||
it('Out of Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
it('3.Out of Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -578,7 +578,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves the request
|
||||
it('Within Policy. People Ops Partner Group approves', () => {
|
||||
it('4.Within Policy. People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -693,7 +693,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group rejects the request
|
||||
it('Within Policy. People Ops Partner Group rejects', () => {
|
||||
it('5.Within Policy. People Ops Partner Group rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -808,7 +808,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group request additional info
|
||||
it('Within Policy. People Ops Partner Group needs more info', () => {
|
||||
it('6.Within Policy. People Ops Partner Group needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -940,7 +940,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
});
|
||||
// Within Policy. People Ops Partner Group and Budget owner approves the request
|
||||
it('Within Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
it('7.Within Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1068,7 +1068,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves and Budget owner rejects the request
|
||||
it('Within Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
it('8.Within Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1196,7 +1196,7 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves and Budget owner request for additional details
|
||||
it('Within Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
it('9.Within Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1344,10 +1344,10 @@ describe.only('Equipment Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Equipment Path - With Files
|
||||
describe('Equipment Path - With Files', () => {
|
||||
describe.only('Equipment Path - With Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Out of Policy. People Ops Partner Group and Budget owner approves the request
|
||||
it('Out of Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
it('10.Out of Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1528,7 +1528,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1567,7 +1567,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Out of Policy. People Ops Partner Group approves and Budget owner rejects the request
|
||||
it('Out of Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
it('11.Out of Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1705,7 +1705,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1744,7 +1744,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Out of Policy. People Ops Partner Group approves and Budget owner request for additional details
|
||||
it('Out of Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
it('12.Out of Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1881,7 +1881,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1947,7 +1947,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves the request
|
||||
it('Within Policy. People Ops Partner Group approves', () => {
|
||||
it('13.Within Policy. People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2085,7 +2085,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2111,7 +2111,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group rejects the request
|
||||
it('Within Policy. People Ops Partner Group rejects', () => {
|
||||
it('14.Within Policy. People Ops Partner Group rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2249,7 +2249,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2275,7 +2275,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group request additional info
|
||||
it('Within Policy. People Ops Partner Group needs more info', () => {
|
||||
it('15.Within Policy. People Ops Partner Group needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2412,7 +2412,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2455,7 +2455,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
});
|
||||
// Within Policy. People Ops Partner Group and Budget owner approves the request
|
||||
it('Within Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
it('16.Within Policy. People Ops Partner Group and Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2592,7 +2592,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2631,7 +2631,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves and Budget owner rejects the request
|
||||
it('Within Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
it('17.Within Policy. People Ops Partner Group approves and Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2768,7 +2768,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2807,7 +2807,7 @@ describe('Equipment Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Within Policy. People Ops Partner Group approves and Budget owner request for additional details
|
||||
it('Within Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
it('18.Within Policy. People Ops Partner Group approves and Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2945,7 +2945,7 @@ describe('Equipment Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
|
|
@ -84,7 +84,7 @@ const submitWithUser = (
|
|||
// .click();
|
||||
// }
|
||||
|
||||
cy.wait(5000);
|
||||
cy.wait(10000);
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
|
||||
|
@ -114,10 +114,10 @@ const checkProcessInstanceCompleted = (
|
|||
}
|
||||
|
||||
// Learning and Development Path - Without Files
|
||||
describe.only('Learning and Development Path - Without Files', () => {
|
||||
describe('Learning and Development Path - Without Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// People Ops Partner Group approves the request
|
||||
it('Books Only. People Ops Partner Group approves', () => {
|
||||
it('1.Books Only. People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -230,7 +230,7 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// People Ops Partner Group rejects the request
|
||||
it('Books Only. People Ops Partner Group rejects', () => {
|
||||
it('2.Books Only. People Ops Partner Group rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -345,7 +345,7 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// People Ops Partner Group request for additional details
|
||||
it('Books Only. People Ops Partner Group needs more info', () => {
|
||||
it('3.Books Only. People Ops Partner Group needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -478,7 +478,7 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner approves and People Ops Partner Group approves the request
|
||||
it('NOT Books Only. Budget owner approves and People Ops Partner Group approves', () => {
|
||||
it('4.NOT Books Only. Budget owner approves and People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -635,7 +635,7 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('NOT Books Only. Budget owner rejects', () => {
|
||||
it('5.NOT Books Only. Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -750,7 +750,7 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('NOT Books Only. Budget owner needs more info', () => {
|
||||
it('6.NOT Books Only. Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -899,10 +899,10 @@ describe.only('Learning and Development Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Learning and Development Path - With Files
|
||||
describe('Learning and Development Path - With Files', () => {
|
||||
describe.only('Learning and Development Path - With Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// People Ops Partner Group approves the request
|
||||
it('Books Only. People Ops Partner Group approves', () => {
|
||||
it('7.Books Only. People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1041,7 +1041,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1067,7 +1067,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
});
|
||||
|
||||
// People Ops Partner Group rejects the request
|
||||
it('Books Only. People Ops Partner Group rejects', () => {
|
||||
it('8.Books Only. People Ops Partner Group rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1206,7 +1206,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1232,7 +1232,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
});
|
||||
|
||||
// People Ops Partner Group request for additional details
|
||||
it('Books Only. People Ops Partner Group needs more info', () => {
|
||||
it('9.Books Only. People Ops Partner Group needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1370,7 +1370,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1414,7 +1414,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner approves and People Ops Partner Group approves the request
|
||||
it('NOT Books Only. Budget owner approves and People Ops Partner Group approves', () => {
|
||||
it('10.NOT Books Only. Budget owner approves and People Ops Partner Group approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1582,7 +1582,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1621,7 +1621,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('NOT Books Only. Budget owner rejects', () => {
|
||||
it('11.NOT Books Only. Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1760,7 +1760,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1786,7 +1786,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('NOT Books Only. Budget owner needs more info', () => {
|
||||
it('12.NOT Books Only. Budget owner needs more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1925,7 +1925,7 @@ describe('Learning and Development Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
|
|
@ -84,7 +84,7 @@ const submitWithUser = (
|
|||
// .click();
|
||||
// }
|
||||
|
||||
cy.wait(5000);
|
||||
cy.wait(10000);
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
};
|
||||
|
@ -115,7 +115,7 @@ const checkProcessInstanceCompleted = (
|
|||
describe('Other Fees Path - Without Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Budget owner approves the request
|
||||
it('Budget owner approves', () => {
|
||||
it('1.Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -244,7 +244,7 @@ describe('Other Fees Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('2.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -360,7 +360,7 @@ describe('Other Fees Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('3.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -498,7 +498,7 @@ describe('Other Fees Path - Without Files', () => {
|
|||
describe.only('Other Fees Path - With Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Budget owner approves the request
|
||||
it('Budget owner approves', () => {
|
||||
it('4.Budget owner approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -650,7 +650,7 @@ describe.only('Other Fees Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -677,7 +677,7 @@ describe.only('Other Fees Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('5.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -816,7 +816,7 @@ describe.only('Other Fees Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -843,7 +843,7 @@ describe.only('Other Fees Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('6.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -982,7 +982,7 @@ describe.only('Other Fees Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
|
|
@ -84,7 +84,7 @@ const submitWithUser = (
|
|||
.click();
|
||||
}
|
||||
|
||||
cy.wait(5000);
|
||||
cy.wait(10000);
|
||||
cy.contains('Process Instance Id:', { timeout: 60000 });
|
||||
cy.logout();
|
||||
};
|
||||
|
@ -829,10 +829,10 @@ describe('Software and Licenses Path - Without Files', () => {
|
|||
});
|
||||
|
||||
// Software and Licenses Path - Without Files and with only mandatory fields
|
||||
describe.only('Software and Licenses Path - Without Files and with only mandatory fields', () => {
|
||||
describe('Software and Licenses Path - Without Files and with only mandatory fields', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Everyone approves with CP
|
||||
it('Everyone approves with CP', () => {
|
||||
it('1.Everyone approves with CP', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -956,7 +956,7 @@ describe.only('Software and Licenses Path - Without Files and with only mandato
|
|||
});
|
||||
|
||||
// Everyone approves the request
|
||||
it('Everyone approves', () => {
|
||||
it('2.Everyone approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1096,7 +1096,7 @@ describe.only('Software and Licenses Path - Without Files and with only mandato
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('3.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1195,7 +1195,7 @@ describe.only('Software and Licenses Path - Without Files and with only mandato
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('4.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1333,7 +1333,7 @@ describe.only('Software and Licenses Path - Without Files and with only mandato
|
|||
});
|
||||
|
||||
// Infra reject the request
|
||||
it('Infra rejects', () => {
|
||||
it('5.Infra rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1467,10 +1467,10 @@ describe.only('Software and Licenses Path - Without Files and with only mandato
|
|||
});
|
||||
|
||||
// Software and Licenses Path - With Files
|
||||
describe('Software and Licenses Path - With Files', () => {
|
||||
describe.only('Software and Licenses Path - With Files', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Everyone approves with CP
|
||||
it('Everyone approves with CP', () => {
|
||||
it('6.Everyone approves with CP', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1620,7 +1620,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1672,7 +1672,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Everyone approves the request
|
||||
it('Everyone approves', () => {
|
||||
it('7.Everyone approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -1809,7 +1809,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -1877,7 +1877,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('8.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2014,7 +2014,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2041,7 +2041,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('9.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2179,7 +2179,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2245,7 +2245,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Infra rejects the request
|
||||
it('Infra Rejects', () => {
|
||||
it('10.Infra Rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2384,7 +2384,7 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2446,10 +2446,10 @@ describe('Software and Licenses Path - With Files', () => {
|
|||
});
|
||||
|
||||
// Software and Licenses Path - With Files and Multiple items
|
||||
describe('Software and Licenses Path - With Files and Multiple items', () => {
|
||||
describe.only('Software and Licenses Path - With Files and Multiple items', () => {
|
||||
Cypress._.times(1, () => {
|
||||
// Everyone approves with CP
|
||||
it('Everyone approves with CP', () => {
|
||||
it('11.Everyone approves with CP', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2618,7 +2618,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2670,7 +2670,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
});
|
||||
|
||||
// Everyone approves the request
|
||||
it('Everyone approves', () => {
|
||||
it('12.Everyone approves', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -2838,7 +2838,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -2906,7 +2906,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
});
|
||||
|
||||
// Budget owner rejects the request
|
||||
it('Budget owner rejects', () => {
|
||||
it('13.Budget owner rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -3075,7 +3075,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -3102,7 +3102,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
});
|
||||
|
||||
// Budget owner request for additional details
|
||||
it('Budget owner need more info', () => {
|
||||
it('14.Budget owner need more info', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -3270,7 +3270,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
@ -3335,7 +3335,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
});
|
||||
|
||||
// Infra rejects the request
|
||||
it('Infra Rejects', () => {
|
||||
it('15.Infra Rejects', () => {
|
||||
const username = Cypress.env('requestor_username');
|
||||
const password = Cypress.env('requestor_password');
|
||||
cy.log(`=====username : ${username}`);
|
||||
|
@ -3499,7 +3499,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => {
|
|||
.contains(/^Submit$/)
|
||||
.click();
|
||||
|
||||
cy.wait(9000);
|
||||
cy.wait(20000);
|
||||
/*cy.get('button')
|
||||
.contains(/^Return to Home$/)
|
||||
.click();*/
|
||||
|
|
Loading…
Reference in New Issue