Skip to content

Commit

Permalink
update selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
fazilqa committed Nov 14, 2024
1 parent 731d113 commit dc8bf6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class PatientComposePage {
};

closeESAlertModal = () => {
cy.get(Locators.ALERTS.ES_ALERT)
cy.get(Locators.ALERTS.ALERT_MODAL)
.shadow()
.find(`button`)
.click({ force: true });
Expand Down Expand Up @@ -451,7 +451,7 @@ class PatientComposePage {
};

getAlertEditDraftBtn = () => {
return cy.get(Locators.ALERTS.ES_ALERT).find('va-button');
return cy.get(Locators.ALERTS.ALERT_MODAL).find('va-button');
};

verifyHeader = text => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class PatientMessageDetailsPage {
cy.get(Locators.ALERTS.THREAD_EXPAND)
.shadow()
.find('button')
.click();
.click({ force: true });
};

expandThreadMessageDetails = (mockThread, index = 1) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('SM REPLY MESSAGE DETAILS', () => {
PatientMessageDetailsPage.loadSingleThread();

PatientMessageDetailsPage.loadReplyMessageThread();
PatientInterstitialPage.getContinueButton().click();
PatientInterstitialPage.getContinueButton().click({ force: true });

PatientReplyPage.verifyReplyHeader();
PatientReplyPage.verifyEditReplyDraftBtn();
Expand Down

0 comments on commit dc8bf6c

Please sign in to comment.