Skip to content

Commit

Permalink
Update form-submission-assign-revise-status.cy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nimya-aot authored Jan 21, 2025
1 parent 4f59177 commit 48304ff
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ it('Submission revise status Assignment', () => {
cy.get('.v-alert__content > div').contains('Draft Saved');
cy.get(':nth-child(2) > :nth-child(4) > :nth-child(1) > .v-btn').click();
cy.get('form > .v-input > .v-input__control > .v-field > .v-field__field > .v-field__input').click();
cy.get('.v-card-actions > .v-btn > .v-btn__content > span').click();
/*
cy.get('form > .v-input > .v-input__control > .v-field > .v-field__field > .v-field__input').type('NIM');
cy.contains('John, Nimya 1 CITZ:EX ([email protected])').click();
cy.get('.v-col-3').click();
Expand All @@ -130,6 +132,7 @@ it('Submission revise status Assignment', () => {
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 Expand Up @@ -168,7 +171,9 @@ it('Submission revise status Assignment', () => {
//cy.get('.v-selection-control > .v-label').click();
cy.get('.v-chip__content').contains('[email protected]').should('be.visible');
cy.get('[data-test="showRecipientEmail"] > .v-input__control > .v-field > .v-field__append-inner > .mdi-menu-down').click();
/*
cy.contains('John, Nimya 1 CITZ:EX ([email protected])').should('be.visible');
*/
cy.get('label').contains('Notify all submitters').should('be.visible');
cy.get('[data-test="canAttachCommentToEmail"] > .v-input__control > .v-selection-control > .v-label').click();
cy.get('textarea[rows="1"]').type('some comments');
Expand All @@ -191,4 +196,4 @@ it('Submission revise status Assignment', () => {
});


});
});

0 comments on commit 48304ff

Please sign in to comment.