modify some test id in table constraints (#18747)

This commit is contained in:
Ashish Gupta 2024-11-25 11:48:45 +05:30 committed by GitHub
parent 21235d058d
commit a2dd211c6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,8 +147,10 @@ const TableConstraints: FC<TableConstraintsProps> = ({
<Space className="constraint-columns" key={index}>
<ForeignKeyConstraint />
<Space direction="vertical" size={16}>
<Typography.Text>{columns?.join(', ')}</Typography.Text>
<div data-testid="referred-column-name">
<Typography.Text data-testid="constraint-column-name">
{columns?.join(', ')}
</Typography.Text>
<div data-testid="referred-column-name-fqn">
{map(referredColumns, (referredColumn) => (
<Tooltip
placement="top"