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)
This commit is contained in:
Ashish Gupta 2025-08-22 12:10:04 +05:30 committed by OpenMetadata Release Bot
parent 621302b8c7
commit af547cdc3f

View File

@ -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')