From b3ccfb328d2330563e354227875df6f45c935a52 Mon Sep 17 00:00:00 2001 From: kritagya09 Date: Wed, 22 Nov 2023 14:20:18 +0530 Subject: [PATCH] [ACS-6239] Addressed review comments --- .../src/page-objects/components/menu.component.ts | 4 ---- 1 file changed, 4 deletions(-) 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();