From d3ad9a20dec64fca38d58007adbae5137c7dee44 Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Fri, 22 Sep 2023 11:02:33 +0530 Subject: [PATCH] fix(test): ctx meny delete --- tests/playwright/pages/Dashboard/Grid/Group.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/playwright/pages/Dashboard/Grid/Group.ts b/tests/playwright/pages/Dashboard/Grid/Group.ts index d50405a412..b595f53c17 100644 --- a/tests/playwright/pages/Dashboard/Grid/Group.ts +++ b/tests/playwright/pages/Dashboard/Grid/Group.ts @@ -121,8 +121,7 @@ export class GroupPageObject extends BasePage { }); // Click text=Delete Row - await this.rootPage.locator('text=Delete Row').click(); - + await this.rootPage.locator('.ant-dropdown-menu-item:has-text("Delete row")').click(); // todo: improve selector await this.rootPage .locator('span.ant-dropdown-menu-title-content > nc-project-menu-item')