"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
const react_1 = __importDefault(require("react"));
const SectionElement_1 = __importDefault(require("../../src/components/SectionElement"));
experimental_ct_react_1.test.describe('SectionElement', () => {
    (0, experimental_ct_react_1.test)('renders SectionElement correctly', async ({ mount }) => {
        const content = 'Test SectionElement';
        const component = await mount(react_1.default.createElement("div", null,
            react_1.default.createElement(SectionElement_1.default, { className: "custom className" }, content)));
        const section = component.locator('section');
        await (0, experimental_ct_react_1.expect)(section).toBeVisible();
        await (0, experimental_ct_react_1.expect)(section).toContainText(content);
        await (0, experimental_ct_react_1.expect)(section).toHaveClass(/custom className/);
    });
});
//# sourceMappingURL=SectionElement.test.js.map