Changed Close to Save and Close

This commit is contained in:
Madhurya Liyanage 2023-05-29 19:38:51 +05:30
parent 381f827aea
commit c59bb2959d
1 changed files with 25 additions and 25 deletions

View File

@ -339,8 +339,8 @@ describe.only('Initiate a Request - Without Files', () => {
});
});
// Close a Software and License request 1 - Without Files
it('Close a Software and License request 1', () => {
// Save and Close a Software and License request 1 - Without Files
it('Save and Close a Software and License request 1', () => {
const username = Cypress.env('requestor_username');
const password = Cypress.env('requestor_password');
cy.log(`=====username : ${username}`);
@ -421,7 +421,7 @@ describe.only('Initiate a Request - Without Files', () => {
cy.get('#root_item_1_unit_price').type('4500');
cy.get('button')
.contains(/^Close$/)
.contains(/^Save and Close$/)
.click();
// cy.get('button')
@ -433,8 +433,8 @@ describe.only('Initiate a Request - Without Files', () => {
});
});
// Close a Software and License request 2 - Without Files
it('Close a Software and License request 2', () => {
// Save and Close a Software and License request 2 - Without Files
it('Save and Close a Software and License request 2', () => {
const username = Cypress.env('requestor_username');
const password = Cypress.env('requestor_password');
cy.log(`=====username : ${username}`);
@ -515,7 +515,7 @@ describe.only('Initiate a Request - Without Files', () => {
// cy.get('#root_item_1_unit_price').type('4500');
cy.get('button')
.contains(/^Close$/)
.contains(/^Save and Close$/)
.click();
// cy.get('button')
@ -527,8 +527,8 @@ describe.only('Initiate a Request - Without Files', () => {
});
});
// Close a Software and License request 3 - Without Files
it('Close a Software and License request 3', () => {
// Save and Close a Software and License request 3 - Without Files
it('Save and Close a Software and License request 3', () => {
const username = Cypress.env('requestor_username');
const password = Cypress.env('requestor_password');
cy.log(`=====username : ${username}`);
@ -624,7 +624,7 @@ describe.only('Initiate a Request - Without Files', () => {
);
cy.get('button')
.contains(/^Close$/)
.contains(/^Save and Close$/)
.click();
// cy.get('button')
@ -1629,8 +1629,8 @@ describe('Initiate a Request - With Files', () => {
});
});
// Close a Software and License request 1 - With Files
it('Close a Software and License request 1 - With Files', () => {
// Save and Close a Software and License request 1 - With Files
it('Save and Close a Software and License request 1 - With Files', () => {
const username = Cypress.env('requestor_username');
const password = Cypress.env('requestor_password');
cy.log(`=====username : ${username}`);
@ -1757,7 +1757,7 @@ describe('Initiate a Request - With Files', () => {
cy.wait(2000);
cy.get('button')
.contains(/^Close$/)
.contains(/^Save and Close$/)
.click();
cy.wait(3000);