Skip to content

Commit 0f0c9ae

Browse files
committed
test: update selector
1 parent c72dfbe commit 0f0c9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search-modal/SearchUI.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ describe('<SearchUI />', () => {
480480
const expandButtonLabel = /Expand to show child tags of "ESDC Skills and Competencies"/i;
481481
await waitFor(() => { expect(getByLabelText(expandButtonLabel)).toBeInTheDocument(); });
482482

483-
const input = getByLabelText('Search tags');
483+
const input = getByRole('searchbox');
484484
fireEvent.change(input, { target: { value: 'Lightcast' } });
485485

486486
await waitFor(() => { expect(queryByLabelText(/^ESDC Skills and Competencies/i)).toBeNull(); });

0 commit comments

Comments
 (0)