Skip to content

Commit

Permalink
#1578 Added email notification
Browse files Browse the repository at this point in the history
  • Loading branch information
nimya-aot committed Nov 20, 2024
1 parent 77c0d0e commit 433b68c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/functional/cypress/e2e/form-edit-submission-data.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,13 @@ describe('Form Designer', () => {
cy.get('.v-data-table__tr > :nth-child(2)').should('not.exist');
cy.wait(2000);
cy.get(rem).click({ force: true });
//submission delete verification
cy.get('.v-data-table__tr > :nth-child(7) > span[data-v-1cd101d8=""] > .v-btn > .v-btn__content > .mdi-minus').click();
cy.get('[data-test="continue-btn-continue"]').click();
cy.get('.v-alert__content').contains('div','Submission deleted successfully.').should('be.visible');
cy.get(rem).click({ force: true });
//Submission restore verification
cy.get('.v-btn > .v-btn__content > .mdi-minus').should('not.exist');
cy.get(':nth-child(2) > .v-btn > .v-btn__content > .mdi-delete-restore').click();
cy.get('[data-test="continue-btn-continue"] > .v-btn__content > span').click();
cy.get('.v-data-table__tr > :nth-child(2)').should('not.exist');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,11 @@ it('Submission revise status Assignment', () => {
cy.get('.v-col-3').click();
cy.get('tbody > :nth-child(2) > :nth-child(1)').contains('John, Nimya 1 CITZ:EX').should('be.visible');
cy.get(':nth-child(1) > :nth-child(4) > .v-btn > .v-btn__content > .mdi-minus').should('not.be.enabled');
cy.wait(4000);

cy.wait(1000);

cy.get('.v-card-actions > .v-btn > .v-btn__content > span').click();
cy.get('.v-alert__content').contains('Sent invite email to [email protected]').should('be.visible');
cy.waitForLoad();
// Edit draft submission
cy.get('.mt-6 > :nth-child(1) > .v-btn > .v-btn__content > span').click();
Expand Down

0 comments on commit 433b68c

Please sign in to comment.