mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 05:26:19 +00:00
test: custom properties AUT (#18288)
This commit is contained in:
parent
befa1f72e8
commit
05a703f08f
@ -269,6 +269,7 @@ export const CustomPropertyTable: FC<CustomPropertyTableProp> = ({
|
||||
<Fragment>
|
||||
<Table
|
||||
bordered
|
||||
className="entity-custom-properties-table"
|
||||
columns={tableColumn}
|
||||
data-testid="entity-custom-properties-table"
|
||||
dataSource={customProperties}
|
||||
|
||||
@ -294,28 +294,27 @@ export const CustomPropertyTable = <T extends ExtentionEntitiesKeys>({
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<Row
|
||||
className="custom-properties-card"
|
||||
data-testid="custom-properties-card"
|
||||
gutter={[16, 16]}>
|
||||
{dataSourceColumns.map((columns, colIndex) => (
|
||||
<Col key={colIndex} span={8}>
|
||||
{columns.map((record) => (
|
||||
<div key={record.name} style={{ marginBottom: '16px' }}>
|
||||
<PropertyValue
|
||||
extension={extensionObject.extensionObject}
|
||||
hasEditPermissions={hasEditAccess}
|
||||
isRenderedInRightPanel={isRenderedInRightPanel}
|
||||
isVersionView={isVersionView}
|
||||
property={record}
|
||||
versionDataKeys={extensionObject.addedKeysList}
|
||||
onExtensionUpdate={onExtensionUpdate}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</Col>
|
||||
))}
|
||||
</Row>
|
||||
<div className="custom-properties-card">
|
||||
<Row data-testid="custom-properties-card" gutter={[16, 16]}>
|
||||
{dataSourceColumns.map((columns, colIndex) => (
|
||||
<Col key={colIndex} span={8}>
|
||||
{columns.map((record) => (
|
||||
<div key={record.name} style={{ marginBottom: '16px' }}>
|
||||
<PropertyValue
|
||||
extension={extensionObject.extensionObject}
|
||||
hasEditPermissions={hasEditAccess}
|
||||
isRenderedInRightPanel={isRenderedInRightPanel}
|
||||
isVersionView={isVersionView}
|
||||
property={record}
|
||||
versionDataKeys={extensionObject.addedKeysList}
|
||||
onExtensionUpdate={onExtensionUpdate}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</Col>
|
||||
))}
|
||||
</Row>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -829,7 +829,8 @@ a[href].link-text-grey,
|
||||
.roles-list-table,
|
||||
.list-table,
|
||||
.kpi-table,
|
||||
.custom-properties-card {
|
||||
.custom-properties-card,
|
||||
.entity-custom-properties-table {
|
||||
margin-right: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user