From 504b84138bdd64274b7d22841ad7d8d6142ed8cc Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Wed, 11 Sep 2024 18:22:35 +0530 Subject: [PATCH] playwright: fixed failing aut of 1.5.4 (#17798) * playwright: fixed failing aut of 1.5.4 * fixed failing AUT test * minor fix --- .../ui/playwright/e2e/VersionPages/EntityVersionPages.spec.ts | 3 --- .../e2e/VersionPages/ServiceEntityVersionPage.spec.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/EntityVersionPages.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/EntityVersionPages.spec.ts index 6d69307c928..6b8ae01172a 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/EntityVersionPages.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/EntityVersionPages.spec.ts @@ -224,9 +224,6 @@ entities.forEach((EntityClass) => { await page.waitForSelector('[role="dialog"].ant-modal'); await expect(page.locator('[role="dialog"].ant-modal')).toBeVisible(); - await expect(page.locator('.ant-modal-title')).toContainText( - entity.entity.name - ); await page.fill('[data-testid="confirmation-text-input"]', 'DELETE'); const deleteResponse = page.waitForResponse( diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/ServiceEntityVersionPage.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/ServiceEntityVersionPage.spec.ts index 8f1e4d63ba8..895c59e8662 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/ServiceEntityVersionPage.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/VersionPages/ServiceEntityVersionPage.spec.ts @@ -189,9 +189,6 @@ entities.forEach((EntityClass) => { await page.waitForSelector('[role="dialog"].ant-modal'); await expect(page.locator('[role="dialog"].ant-modal')).toBeVisible(); - await expect(page.locator('.ant-modal-title')).toContainText( - entity.entity.name - ); await page.fill('[data-testid="confirmation-text-input"]', 'DELETE'); const deleteResponse = page.waitForResponse(