"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
const Button_1 = require("./Button");
const buttonLabel = 'I am a button';
(0, experimental_ct_react_1.test)(`has label "${buttonLabel}"`, async ({ mount }) => {
    const component = await mount((0, jsx_runtime_1.jsx)(Button_1.Button, { label: buttonLabel }));
    await (0, experimental_ct_react_1.expect)(component).toContainText(buttonLabel);
});
//# sourceMappingURL=Button.spec.js.map