diff --git a/kafka-ui-react-app/src/components/ConsumerGroups/List/List.tsx b/kafka-ui-react-app/src/components/ConsumerGroups/List/List.tsx index f5b006a1c6..9cd3769585 100644 --- a/kafka-ui-react-app/src/components/ConsumerGroups/List/List.tsx +++ b/kafka-ui-react-app/src/components/ConsumerGroups/List/List.tsx @@ -22,7 +22,7 @@ const List: React.FC = () => { diff --git a/kafka-ui-react-app/src/components/ConsumerGroups/List/__test__/List.spec.tsx b/kafka-ui-react-app/src/components/ConsumerGroups/List/__test__/List.spec.tsx index 1bcb34daac..0ac9c0ceed 100644 --- a/kafka-ui-react-app/src/components/ConsumerGroups/List/__test__/List.spec.tsx +++ b/kafka-ui-react-app/src/components/ConsumerGroups/List/__test__/List.spec.tsx @@ -30,7 +30,10 @@ describe('List', () => { describe('when searched', () => { it('renders only searched consumers', () => { - userEvent.type(screen.getByPlaceholderText('Search'), 'groupId1'); + userEvent.type( + screen.getByPlaceholderText('Search by Consumer Group ID'), + 'groupId1' + ); expect(screen.getByText('groupId1')).toBeInTheDocument(); expect(screen.getByText('groupId2')).toBeInTheDocument(); });