Skip to content

Commit

Permalink
[ACS-6239] Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kritagya09 committed Nov 22, 2023
1 parent 290b6f1 commit b3ccfb3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ export class MenuComponent extends BaseComponent {
return this.items.nth(nth - 1);
}

async getItemByLabel(menuItem: string): Promise<Locator> {
return this.items.getByText(menuItem);
}

async clickMenuItem(menuItem: string): Promise<void> {
try {
await this.page.locator('.mat-menu-item').getByText(menuItem).click();
Expand Down

0 comments on commit b3ccfb3

Please sign in to comment.