diff --git a/src/forms/OptionalDirectory.jsx b/src/forms/OptionalDirectory.jsx index 9060477..9150f63 100644 --- a/src/forms/OptionalDirectory.jsx +++ b/src/forms/OptionalDirectory.jsx @@ -35,6 +35,7 @@ export function OptionalDirectory(component, label, name, props = {}) { size="sm" name={name} value={stateProperty(component, name)} + data-testid={'control-' + name} onChange={component.handleChange}{...props}> {window.kopiaUI &&