diff --git a/kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx b/kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx index 60a6264b7d..20eee66fa4 100644 --- a/kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx +++ b/kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx @@ -78,7 +78,7 @@ const Details: React.FC = () => { {!isReadOnly && ( } right> - Reset offsest + Reset offsets { expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); }); - it('hanles [Reset offsest] click', async () => { - userEvent.click(screen.getByText('Reset offsest')); + it('handles [Reset offsets] click', async () => { + userEvent.click(screen.getByText('Reset offsets')); expect(history.location.pathname).toEqual( clusterConsumerGroupResetOffsetsPath(clusterName, groupId) );