Skip to content

Commit b3ac87f

Browse files
feat: add unique OUIA ID to feedback home title
Add data-ouia-component-id="feedback-home-title" to the 'Tell us about your experience' heading to enable unique identification in automated tests and avoid strict mode violations from duplicate auto-generated OUIA IDs.
1 parent a4e519e commit b3ac87f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/HelpPanel/HelpPanelTabs/Feedback/FeedbackPanel.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ const FeedbackPanel: React.FC<SubTabProps> = ({ setNewActionTitle }) => {
130130
<Stack hasGutter>
131131
<StackItem>
132132
<Content>
133-
<Content component={ContentVariants.h1}>
133+
<Content
134+
component={ContentVariants.h1}
135+
ouiaId="feedback-home-title"
136+
ouiaSafe
137+
>
134138
{intl.formatMessage(messages.tellAboutExperience)}
135139
</Content>
136140
<Content component="p">

0 commit comments

Comments
 (0)