summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/cell
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/renderer/components/cell')
-rw-r--r--gui/src/renderer/components/cell/Selector.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/renderer/components/cell/Selector.tsx b/gui/src/renderer/components/cell/Selector.tsx
index 2868a50aee..3c1988a502 100644
--- a/gui/src/renderer/components/cell/Selector.tsx
+++ b/gui/src/renderer/components/cell/Selector.tsx
@@ -38,6 +38,7 @@ interface CommonSelectorProps<T, U> {
thinTitle?: boolean;
automaticLabel?: string;
automaticValue?: U;
+ automaticTestId?: string;
children?: React.ReactNode | Array<React.ReactNode>;
}
@@ -73,6 +74,7 @@ export default function Selector<T, U>(props: SelectorProps<T, U>) {
items.unshift(
<SelectorCell
key={'automatic'}
+ data-testid={props.automaticTestId}
value={props.automaticValue}
isSelected={selected}
disabled={props.disabled}