import '@testing-library/jest-dom';
import { render, screen } from '@testing-library/react';
import ResponseActionsGroups from './ResponseActionsGroups';
test('Renders with children', () => {
render(Test content);
expect(screen.getByText('Test content')).toBeInTheDocument();
});
test('Renders with pf-chatbot__response-actions-groups class by default', () => {
render(Test content);
expect(screen.getByText('Test content')).toHaveClass('pf-chatbot__response-actions-groups', { exact: true });
});
test('Renders with custom className', () => {
render(Test content);
expect(screen.getByText('Test content')).toHaveClass('custom-class');
});
test('Spreads additional props', () => {
render(Test content);
expect(screen.getByText('Test content')).toHaveAttribute('id', 'test-id');
});