fix: changed timer options dataTestId to use seconds and not the name

since we need an id unaffected by localisation
pull/2660/head
William Grant 2 years ago
parent 996f1d0cb1
commit 5cd4bf1b6f

@ -35,7 +35,7 @@ export const TimeOptions = (props: TimerOptionsProps) => {
}} }}
noBackgroundColor={true} noBackgroundColor={true}
disabled={disabled} disabled={disabled}
dataTestId={`disappear-time-${option.name.replace(' ', '-')}-option`} dataTestId={`disappear-time-${option.value}-option`}
/> />
); );
})} })}

Loading…
Cancel
Save