From 6575f420524409bb5aa1703d5ebf534057b9fb88 Mon Sep 17 00:00:00 2001 From: shrushti2000 Date: Wed, 18 Dec 2024 11:27:04 +0530 Subject: [PATCH] fix failing playwright test --- .../src/main/resources/ui/playwright/utils/entity.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts index 12539ec857f1..49201371e520 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts @@ -1096,11 +1096,6 @@ export const deletedEntityCommonChecks = async ({ if (deleted) { // only two menu options (restore and delete) should be present - await expect( - page.locator( - '[data-testid="manage-dropdown-list-container"] [data-testid="announcement-button"]' - ) - ).toBeHidden(); await expect( page.locator( '[data-testid="manage-dropdown-list-container"] [data-testid="rename-button"]' @@ -1122,11 +1117,6 @@ export const deletedEntityCommonChecks = async ({ ) ).toBeVisible(); } else { - await expect( - page.locator( - '[data-testid="manage-dropdown-list-container"] [data-testid="announcement-button"]' - ) - ).toBeVisible(); await expect( page.locator( '[data-testid="manage-dropdown-list-container"] [data-testid="rename-button"]'