Skip to content

Commit

Permalink
Add changes from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrk39 committed Nov 8, 2024
1 parent 35f03ff commit 788220b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/portalicious/pages/RegistrationsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class RegistrationsPage extends BasePage {
readonly page: Page;
readonly table: TableComponent;
readonly goToProfileOption: Locator;
readonly sendMessageDialog: Locator;
readonly sendMessageDialogPreview: Locator;

constructor(page: Page) {
super(page);
Expand Down Expand Up @@ -124,7 +124,7 @@ class RegistrationsPage extends BasePage {
}

async validateSendMessagePaCount(count: number) {
const dialogText = await this.sendMessageDialog.innerText();
const dialogText = await this.sendMessageDialogPreview.innerText();

// Extract the number from the dialog text
const regex = /(\d+)/;
Expand Down

0 comments on commit 788220b

Please sign in to comment.