sforkowany z mirror/soapbox
QuotedStatus: move testId to highest component
rodzic
06a0ca704c
commit
7fe97e8075
|
@ -125,12 +125,13 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<OutlineBox className={classNames('mt-3 cursor-pointer', {
|
<OutlineBox
|
||||||
|
data-testid='quoted-status'
|
||||||
|
className={classNames('mt-3 cursor-pointer', {
|
||||||
'hover:bg-gray-100 dark:hover:bg-gray-800': !compose,
|
'hover:bg-gray-100 dark:hover:bg-gray-800': !compose,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<Stack
|
<Stack
|
||||||
data-testid='quoted-status'
|
|
||||||
space={2}
|
space={2}
|
||||||
onClick={handleExpandClick}
|
onClick={handleExpandClick}
|
||||||
>
|
>
|
||||||
|
|
Ładowanie…
Reference in New Issue