"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
require("@testing-library/jest-dom");
const react_1 = require("@testing-library/react");
const ResponseActionsGroups_1 = __importDefault(require("./ResponseActionsGroups"));
test('Renders with children', () => {
    (0, react_1.render)((0, jsx_runtime_1.jsx)(ResponseActionsGroups_1.default, { children: "Test content" }));
    expect(react_1.screen.getByText('Test content')).toBeInTheDocument();
});
test('Renders with pf-chatbot__response-actions-groups class by default', () => {
    (0, react_1.render)((0, jsx_runtime_1.jsx)(ResponseActionsGroups_1.default, { children: "Test content" }));
    expect(react_1.screen.getByText('Test content')).toHaveClass('pf-chatbot__response-actions-groups', { exact: true });
});
test('Renders with custom className', () => {
    (0, react_1.render)((0, jsx_runtime_1.jsx)(ResponseActionsGroups_1.default, { className: "custom-class", children: "Test content" }));
    expect(react_1.screen.getByText('Test content')).toHaveClass('custom-class');
});
test('Spreads additional props', () => {
    (0, react_1.render)((0, jsx_runtime_1.jsx)(ResponseActionsGroups_1.default, { id: "test-id", children: "Test content" }));
    expect(react_1.screen.getByText('Test content')).toHaveAttribute('id', 'test-id');
});
