feat: add data-testid attribute to radio button labels for improved testing

This commit is contained in:
Nawaz Dhandala
2026-04-01 22:21:43 +01:00
parent 043707d0cb
commit 4bdf9943e4

View File

@@ -62,6 +62,7 @@ const RadioButtons: FunctionComponent<ComponentProps> = (
<label
key={i}
className={className}
data-testid={`card-select-option-${radioButton.value}`}
onClick={() => {
handleChange(radioButton.value);
}}