test: fix table type custom property AUT (#18374)

This commit is contained in:
Sachin Chaurasiya 2024-10-23 14:48:53 +05:30 committed by GitHub
parent a2dac2489c
commit 7fe07fea35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,8 +17,8 @@ import {
ENTITY_REFERENCE_PROPERTIES,
} from '../constant/customProperty';
import {
ENTITY_PATH,
EntityTypeEndpoint,
ENTITY_PATH,
} from '../support/entity/Entity.interface';
import { UserClass } from '../support/user/UserClass';
import { clickOutside, descriptionBox, uuid } from './common';
@ -704,7 +704,11 @@ export const editCreatedProperty = async (
}
if (type === 'Table') {
await expect(page.getByText('Columns:pw-column1pw-column2')).toBeVisible();
await expect(
page
.locator(`[data-row-key="${propertyName}"]`)
.getByText('Columns:pw-column1pw-column2')
).toBeVisible();
}
await editButton.click();