From 5a52defb92aa7eee24d40c33fc1a02ef8f64f736 Mon Sep 17 00:00:00 2001 From: Christian Veinfors Date: Thu, 30 Mar 2023 15:44:35 +0200 Subject: [PATCH] test: add data-testid for search input field (#1202) --- apis/nucleus/src/components/listbox/components/ListBoxSearch.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/nucleus/src/components/listbox/components/ListBoxSearch.jsx b/apis/nucleus/src/components/listbox/components/ListBoxSearch.jsx index e77dcd498..3445a8c6b 100644 --- a/apis/nucleus/src/components/listbox/components/ListBoxSearch.jsx +++ b/apis/nucleus/src/components/listbox/components/ListBoxSearch.jsx @@ -190,6 +190,7 @@ export default function ListBoxSearch({ inputProps={{ tabIndex: keyboard && (!keyboard.enabled || keyboard.active) ? 0 : -1, style: { textAlign: `${inpuTextAlign}` }, + 'data-testid': 'search-input-field', }} /> );