mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-05 05:45:51 +00:00
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:
parent
621302b8c7
commit
af547cdc3f
@ -72,6 +72,13 @@ export const fillTableColumnInputDetails = async (
|
|||||||
) => {
|
) => {
|
||||||
await page.locator(`div.rdg-cell-${columnName}`).last().dblclick();
|
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
|
await page
|
||||||
.getByTestId('edit-table-type-property-modal')
|
.getByTestId('edit-table-type-property-modal')
|
||||||
.getByRole('textbox')
|
.getByRole('textbox')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user