(
return (
((props, ref) => {
const content = (
@@ -94,6 +98,7 @@ const Content = React.forwardRef((props, ref) => {
weight={textPresets.cardTitle.weight}
as={titleAs}
hyphens="auto"
+ dataAttributes={{testid: 'title'}}
>
{title}
@@ -105,6 +110,7 @@ const Content = React.forwardRef((props, ref) => {
truncate={descriptionLinesMax}
as="p"
hyphens="auto"
+ dataAttributes={{testid: 'description'}}
>
{description}
@@ -119,6 +125,7 @@ const Content = React.forwardRef((props, ref) => {
{imageUrl && (