Skip to content

Commit

Permalink
fix failing playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
shrushti2000 committed Dec 18, 2024
1 parent 6d18d46 commit 6575f42
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand All @@ -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"]'
Expand Down

0 comments on commit 6575f42

Please sign in to comment.