diff --git a/projects/aca-playwright-shared/src/page-objects/components/menu.component.ts b/projects/aca-playwright-shared/src/page-objects/components/menu.component.ts index c43e7c389c..7087adef47 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/menu.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/menu.component.ts @@ -38,10 +38,6 @@ export class MenuComponent extends BaseComponent { return this.items.nth(nth - 1); } - async getItemByLabel(menuItem: string): Promise { - return this.items.getByText(menuItem); - } - async clickMenuItem(menuItem: string): Promise { try { await this.page.locator('.mat-menu-item').getByText(menuItem).click();