From af547cdc3f73f5284b91c46d7f9a0aed613e639f Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Fri, 22 Aug 2025 12:10:04 +0530 Subject: [PATCH] PLAYWRIGHT: fix the bulk action failure due to input field not enable (#23033) * fix the bulk action failure due to input field not enable * fix the failure (cherry picked from commit 3253527e044b0769ef2d4462fe20d3c6828402c7) --- .../main/resources/ui/playwright/utils/customProperty.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts index 627ec9d51a7..0f3433a8362 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts @@ -72,6 +72,13 @@ export const fillTableColumnInputDetails = async ( ) => { await page.locator(`div.rdg-cell-${columnName}`).last().dblclick(); + const isInputVisible = await page + .locator(`div.rdg-editor-container.rdg-cell-${columnName}`) + .isVisible(); + + if (!isInputVisible) { + await page.locator(`div.rdg-cell-${columnName}`).last().dblclick(); + } await page .getByTestId('edit-table-type-property-modal') .getByRole('textbox')