"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RadioGroupV1Test = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_native_1 = require("react-native");
const e2e_testing_1 = require("@fluentui-react-native/e2e-testing");
const CustomizedRadioGroup_1 = require("./CustomizedRadioGroup");
const DefaultRadioGroup_1 = require("./DefaultRadioGroup");
const DisabledRadioGroup_1 = require("./DisabledRadioGroup");
const HorizontalRadioGroup_1 = require("./HorizontalRadioGroup");
const RadioGroupV1E2ETest_1 = require("./RadioGroupV1E2ETest");
const RequiredRadioGroup_1 = require("./RequiredRadioGroup");
const SubtextRadioGroup_1 = require("./SubtextRadioGroup");
const Test_1 = require("../Test");
const radioGroupV1Sections = [
    {
        name: 'Default RadioGroup Usage',
        testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
        component: DefaultRadioGroup_1.DefaultRadioGroup,
    },
    {
        name: 'Disabled RadioGroup',
        testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
        component: DisabledRadioGroup_1.DisabledRadioGroup,
    },
    {
        name: 'Required RadioGroup',
        testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
        component: RequiredRadioGroup_1.RequiredRadioGroup,
    },
    ...react_native_1.Platform.select({
        android: [null],
        ios: [null],
        native: [
            {
                name: 'RadioGroup with Label Subtext',
                testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
                component: SubtextRadioGroup_1.SubtextRadioGroup,
            },
        ],
        default: [
            {
                name: 'RadioGroup with Label Subtext',
                testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
                component: SubtextRadioGroup_1.SubtextRadioGroup,
            },
            {
                name: 'Other Layouts',
                testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
                component: HorizontalRadioGroup_1.HorizontalRadioGroup,
            },
            {
                name: 'Customized RadioGroup Usage',
                testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
                component: CustomizedRadioGroup_1.CustomizedRadioGroup,
            },
        ],
    }),
];
const e2eSections = [
    {
        name: 'RadioGroup for E2E Testing',
        testID: e2e_testing_1.RADIOGROUPV1_TESTPAGE,
        component: RadioGroupV1E2ETest_1.RadioGroupV1E2ETest,
    },
];
const RadioGroupV1Test = () => {
    const status = {
        win32Status: 'Production',
        uwpStatus: 'Backlog',
        iosStatus: 'Production',
        macosStatus: 'Production',
        androidStatus: 'Production',
    };
    const description = 'RadioGroup lets users select a single option from two or more choices. Each option is represented by one Radio; a user can select only one Radio in a RadioGroup.';
    const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/experimental/RadioGroup/SPEC.md';
    return (React.createElement(Test_1.Test, { name: "RadioGroupV1 Test", description: description, spec: spec, sections: radioGroupV1Sections, status: status, e2eSections: e2eSections }));
};
exports.RadioGroupV1Test = RadioGroupV1Test;
//# sourceMappingURL=RadioGroupV1Test.js.map