"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TabsLegacyE2ETest = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
var react_native_2 = require("@fluentui/react-native");
var consts_1 = require("../../../../E2E/src/TabsLegacy/consts");
var styles_1 = require("../Common/styles");
var TestProps_1 = require("../Common/TestProps");
var TabsLegacyE2ETest = function () {
    return (React.createElement(react_native_1.View, null,
        React.createElement(react_native_1.View, { style: styles_1.stackStyle },
            React.createElement(react_native_2.Tabs, tslib_1.__assign({ label: "Tabs", accessibilityLabel: consts_1.TABS_ACCESSIBILITY_LABEL }, (0, TestProps_1.testProps)(consts_1.TABS_TEST_COMPONENT)),
                React.createElement(react_native_2.TabsItem, tslib_1.__assign({ headerText: "Home", itemKey: "A", accessibilityLabel: consts_1.FIRST_TABS_ITEM_ACCESSIBILITY_LABEL }, (0, TestProps_1.testProps)(consts_1.FIRST_TABS_ITEM)),
                    React.createElement(react_native_2.Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , tslib_1.__assign({}, (0, TestProps_1.testProps)(consts_1.FIRST_TABS_ITEM_CONTENT)), "Tabs #1")),
                React.createElement(react_native_2.TabsItem, tslib_1.__assign({ headerText: "Files", itemKey: "B" }, (0, TestProps_1.testProps)(consts_1.SECOND_TABS_ITEM)),
                    React.createElement(react_native_2.Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , tslib_1.__assign({}, (0, TestProps_1.testProps)(consts_1.SECOND_TABS_ITEM_CONTENT)), "Tabs #2")),
                React.createElement(react_native_2.TabsItem, tslib_1.__assign({ headerText: consts_1.THIRD_TABS_ITEM_LABEL, itemKey: "C" }, (0, TestProps_1.testProps)(consts_1.THIRD_TABS_ITEM)),
                    React.createElement(react_native_2.Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , tslib_1.__assign({}, (0, TestProps_1.testProps)(consts_1.THIRD_TABS_ITEM_CONTENT)), "Tabs #3")))),
        React.createElement(react_native_1.View, { style: styles_1.stackStyle },
            React.createElement(react_native_2.Tabs, tslib_1.__assign({ label: consts_1.TABS_TEST_COMPONENT_LABEL }, (0, TestProps_1.testProps)(consts_1.TABS_NO_A11Y_LABEL_COMPONENT)),
                React.createElement(react_native_2.TabsItem, { headerText: "Home", itemKey: "A" },
                    React.createElement(react_native_2.Text, null, "Tabs #1")),
                React.createElement(react_native_2.TabsItem, { headerText: "Files", itemKey: "B" },
                    React.createElement(react_native_2.Text, null, "Tabs #2")),
                React.createElement(react_native_2.TabsItem, { headerText: "Settings", itemKey: "C" },
                    React.createElement(react_native_2.Text, null, "Tabs #3"))))));
};
exports.TabsLegacyE2ETest = TabsLegacyE2ETest;
//# sourceMappingURL=TabsLegacyE2ETest.js.map