mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: add data-testid attribute to radio button labels for improved testing
This commit is contained in:
@@ -62,6 +62,7 @@ const RadioButtons: FunctionComponent<ComponentProps> = (
|
||||
<label
|
||||
key={i}
|
||||
className={className}
|
||||
data-testid={`card-select-option-${radioButton.value}`}
|
||||
onClick={() => {
|
||||
handleChange(radioButton.value);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user