import { __assign } from "tslib";
import * as React from 'react';
import { View } from 'react-native';
import { Tabs, TabsItem, Text } from '@fluentui/react-native';
import { TABS_TEST_COMPONENT, TABS_ACCESSIBILITY_LABEL, TABS_TEST_COMPONENT_LABEL, TABS_NO_A11Y_LABEL_COMPONENT, SECOND_TABS_ITEM_CONTENT, FIRST_TABS_ITEM, SECOND_TABS_ITEM, THIRD_TABS_ITEM, FIRST_TABS_ITEM_ACCESSIBILITY_LABEL, THIRD_TABS_ITEM_LABEL, THIRD_TABS_ITEM_CONTENT, FIRST_TABS_ITEM_CONTENT, } from '../../../../E2E/src/TabsLegacy/consts';
import { stackStyle } from '../Common/styles';
import { testProps } from '../Common/TestProps';
export var TabsLegacyE2ETest = function () {
    return (React.createElement(View, null,
        React.createElement(View, { style: stackStyle },
            React.createElement(Tabs, __assign({ label: "Tabs", accessibilityLabel: TABS_ACCESSIBILITY_LABEL }, testProps(TABS_TEST_COMPONENT)),
                React.createElement(TabsItem, __assign({ headerText: "Home", itemKey: "A", accessibilityLabel: FIRST_TABS_ITEM_ACCESSIBILITY_LABEL }, testProps(FIRST_TABS_ITEM)),
                    React.createElement(Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , __assign({}, testProps(FIRST_TABS_ITEM_CONTENT)), "Tabs #1")),
                React.createElement(TabsItem, __assign({ headerText: "Files", itemKey: "B" }, testProps(SECOND_TABS_ITEM)),
                    React.createElement(Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , __assign({}, testProps(SECOND_TABS_ITEM_CONTENT)), "Tabs #2")),
                React.createElement(TabsItem, __assign({ headerText: THIRD_TABS_ITEM_LABEL, itemKey: "C" }, testProps(THIRD_TABS_ITEM)),
                    React.createElement(Text
                    /* For Android E2E testing purposes, testProps must be passed in after accessibilityLabel. */
                    , __assign({}, testProps(THIRD_TABS_ITEM_CONTENT)), "Tabs #3")))),
        React.createElement(View, { style: stackStyle },
            React.createElement(Tabs, __assign({ label: TABS_TEST_COMPONENT_LABEL }, testProps(TABS_NO_A11Y_LABEL_COMPONENT)),
                React.createElement(TabsItem, { headerText: "Home", itemKey: "A" },
                    React.createElement(Text, null, "Tabs #1")),
                React.createElement(TabsItem, { headerText: "Files", itemKey: "B" },
                    React.createElement(Text, null, "Tabs #2")),
                React.createElement(TabsItem, { headerText: "Settings", itemKey: "C" },
                    React.createElement(Text, null, "Tabs #3"))))));
};
//# sourceMappingURL=TabsLegacyE2ETest.js.map