From 3d06c7091725561b0d45e3d23e9c5f45b84fb2b0 Mon Sep 17 00:00:00 2001 From: lupusA Date: Sun, 7 Jan 2024 10:30:53 +0100 Subject: [PATCH] Fixed tests --- src/forms/OptionalDirectory.jsx | 1 + src/forms/RequiredDirectory.jsx | 1 + 2 files changed, 2 insertions(+) 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 &&