Skip to content

Commit

Permalink
feat: add data-testid attributes to SingleColumnCard for improved tes…
Browse files Browse the repository at this point in the history
…ting support
  • Loading branch information
AdiGajbhiye committed Feb 5, 2025
1 parent d0ae564 commit 09ed21a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const SingleColumnCard = ({
);
}
return (
<Card>
<Card data-testid={`docs_prop_column_card_${columnName}`}>
<CardBody>
<div
className={styles.singleColumnAccordion}
Expand Down Expand Up @@ -161,7 +161,11 @@ const SingleColumnCard = ({
</Button>
</Stack>
) : null}
<Stack direction="column" className="gap-sm">
<Stack
direction="column"
className="gap-sm"
data-testid={`docs_prop_downstream_columns_${columnName}`}
>
{downstreamColumns.map((item) => {
const key = item.model + "/" + item.column;
return (
Expand Down

0 comments on commit 09ed21a

Please sign in to comment.