Skip to content

Commit

Permalink
updated data-test-subj for cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CAWilson94 committed Nov 5, 2024
1 parent a20a24b commit 2cdba5d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ const FormattedFieldValueComponent: React.FC<{
);
} else if (fieldName === RISK_SCORE) {
return value ? (
<span data-test-subj="risk-score-truncate" title={`${value}`}>
{formatRiskScore(Number(value))}
</span>
<span data-test-subj={`formatted-field-${fieldName}`}>{formatRiskScore(Number(value))}</span>
) : null;
} else if (fieldName === EVENT_MODULE_FIELD_NAME) {
return renderEventModule({
Expand Down

0 comments on commit 2cdba5d

Please sign in to comment.