Skip to content

Commit

Permalink
refactor(testid): add data test id in StandardFieldValueRead for E2E …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
Delmotte-Vincent authored and renaudAmsellem committed Oct 18, 2024
1 parent eb8aedb commit f13b4a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export const StandardFieldValueRead: FunctionComponent<IStandardFieldValueReadPr
label={label}
bordered
hoverable
htmlFor={fieldValue.idValue}
required={state.formElement.settings.required}
onInfoClick={shouldShowValueDetailsButton ? onValueDetailsButtonClick : null}
helper={_getHelper()}
Expand All @@ -137,6 +136,7 @@ export const StandardFieldValueRead: FunctionComponent<IStandardFieldValueReadPr
$width={width}
>
<ValueWrapper
data-testid={state.attribute.id}
disabled={state.isReadOnly}
onClick={onClick}
weight="medium"
Expand Down

0 comments on commit f13b4a9

Please sign in to comment.