Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions apps/src/tests/single-feature-tests/tabs/index.ts
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
import type { ScenarioGroup } from '@apps/tests/shared/helpers';

import TestTabBottomAccessory from './test-tabs-bottom-accessory-layout-ios';
import TestTabsSimpleNav from './test-tabs-simple-nav';
import TestTabsPreventNativeSelection from './test-tabs-prevent-native-selection';
import TestTabsStaleStateUpdateRejection from './test-tabs-stale-update-rejection';
import TabBarAppearanceDefinedBySelectedTab from './test-tabs-appearance-defined-by-selected-tab';
import TestTabsTabBarColorScheme from './test-tabs-tab-bar-color-scheme';
import TestTabsOverrideScrollViewContentInset from './test-tabs-override-scroll-view-content-inset-ios';
import TestTabsTabBarHidden from './test-tabs-tab-bar-hidden';
import TabsScreenOrientationScenario from './tabs-screen-orientation';
import TabBarAppearanceDefinedBySelectedTabScenario from './test-tabs-appearance-defined-by-selected-tab';
import TestTabsTabBarColorScheme from './test-tabs-tab-bar-color-scheme';
import TestTabsTabBarLayoutDirection from './test-tabs-tab-bar-layout-direction';
import TestTabsIMEInsets from './test-tabs-ime-insets-android';
import TestTabsSimpleNav from './test-tabs-simple-nav';
import TestTabsMoreNavigationController from './test-tabs-more-navigation-controller-ios';
import TestTabsPreventNativeSelection from './test-tabs-prevent-native-selection';
import TestTabsStaleStateUpdateRejection from './test-tabs-stale-update-rejection';
import TestTabsTabBarMinimizeBehavior from './test-tabs-tab-bar-minimize-behavior-ios';
import TestTabsTabBarControllerMode from './test-tabs-tab-bar-controller-mode-ios';
import TestTabsSpecialEffectsScrollToTop from './test-tabs-special-effects-scroll-to-top';
import TestTabsTabBarExperimentalUserInterfaceStyle from './test-tabs-tab-bar-experimental-user-interface-style-ios';
import TestTabsLifecycleEvents from './test-tabs-lifecycle-events';
import TestTabsItemTitle from './test-tabs-item-title';
import TestTabsSystemItem from './test-tabs-system-item-ios';
import TestTabsGeneralAppearanceNoLiquidGlass from './test-tabs-general-appearance-no-liquid-glass-ios';
import TestTabsNativeContainerStyle from './test-tabs-native-container-style';
import TestTabsGeneralAppearanceNoLiquidGlass from './test-tabs-general-appearance-no-liquid-glass-ios';
import TestTabsGeneralAppearance from './test-tabs-general-appearance-android';
import TestTabsLayoutAppearances from './test-tabs-layout-appearances-ios';
import TestTabsItemIcon from './test-tabs-item-icon';
import TestTabsGeneralAppearance from './test-tabs-general-appearance-android';
import TestTabsItemTitle from './test-tabs-item-title';
import TestTabsItemBadge from './test-tabs-item-badge';
import TestTabsSystemItem from './test-tabs-system-item-ios';
import TestTabsMoreNavigationController from './test-tabs-more-navigation-controller-ios';
import TestTabsTabBarMinimizeBehavior from './test-tabs-tab-bar-minimize-behavior-ios';
import TestTabsTabBarControllerMode from './test-tabs-tab-bar-controller-mode-ios';
import TestTabsBottomAccessory from './test-tabs-bottom-accessory-layout-ios';
import TestTabsScreenOrientation from './test-tabs-screen-orientation';
import TestTabsTabBarExperimentalUserInterfaceStyle from './test-tabs-tab-bar-experimental-user-interface-style-ios';

const scenarios = {
TestTabBottomAccessory,
TestTabsSimpleNav,
TestTabsPreventNativeSelection,
TestTabsStaleStateUpdateRejection,
TabBarAppearanceDefinedBySelectedTab,
TestTabsTabBarColorScheme,
TestTabsOverrideScrollViewContentInset,
TabBarAppearanceDefinedBySelectedTabScenario,
TestTabsTabBarHidden,
TabsScreenOrientationScenario,
TestTabsTabBarColorScheme,
TestTabsTabBarLayoutDirection,
TestTabsIMEInsets,
TestTabsSimpleNav,
TestTabsMoreNavigationController,
TestTabsPreventNativeSelection,
TestTabsStaleStateUpdateRejection,
TestTabsTabBarMinimizeBehavior,
TestTabsTabBarControllerMode,
TestTabsSpecialEffectsScrollToTop,
TestTabsTabBarExperimentalUserInterfaceStyle,
TestTabsLifecycleEvents,
TestTabsItemTitle,
TestTabsSystemItem,
TestTabsGeneralAppearanceNoLiquidGlass,
TestTabsNativeContainerStyle,
TestTabsGeneralAppearanceNoLiquidGlass,
TestTabsGeneralAppearance,
TestTabsLayoutAppearances,
TestTabsItemIcon,
TestTabsGeneralAppearance,
TestTabsItemTitle,
TestTabsItemBadge,
TestTabsSystemItem,
TestTabsMoreNavigationController,
TestTabsTabBarMinimizeBehavior,
TestTabsTabBarControllerMode,
TestTabsBottomAccessory,
TestTabsScreenOrientation,
TestTabsTabBarExperimentalUserInterfaceStyle,
};

const TabsScenarioGroup: ScenarioGroup<keyof typeof scenarios> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ and the `normal` state is using system default: `tabBarItemTitleFontStyle: 'norm

## E2E test

`incomplete`: All verifiable outcomes are visual — font style (italic vs.
Incomplete: All verifiable outcomes are visual — font style (italic vs.
normal) and font color of native tab bar item labels. Detox does not expose
typographic attributes or color values of native `UITabBarItem` title labels,
making automated assertion infeasible. Manual verification on a physical or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ScenarioDescription } from '@apps/tests/shared/helpers';

export const scenarioDescription: ScenarioDescription = {
name: 'More navigation controller',
key: 'test-tabs-more-navigation-controller',
key: 'test-tabs-more-navigation-controller-ios',
details: 'Test navigation and interactions with "More Navigation Controller"',
platforms: ['ios'],
e2eCoverage: 'tbd',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ScenarioDescription } from '@apps/tests/shared/helpers';

export const scenarioDescription: ScenarioDescription = {
name: 'Tabs Screen Orientation',
key: 'tabs-screen-orientation',
key: 'test-tabs-screen-orientation',
platforms: ['ios', 'android'],
e2eCoverage: 'tbd',
smokeTest: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import type { ScenarioDescription } from '@apps/tests/shared/helpers';
export const scenarioDescription: ScenarioDescription = {
name: 'Tab Bar Experimental UIStyle',
key: 'test-tabs-tab-bar-experimental-user-interface-style-ios',
details:
'Test experimental_userInterfaceStyle prop on TabsScreen (iOS) - force light/dark interface style for the tab/navigation bar chrome',
platforms: ['ios'],
e2eCoverage: 'incomplete',
smokeTest: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import type { ScenarioDescription } from '@apps/tests/shared/helpers';
export const scenarioDescription: ScenarioDescription = {
name: 'Tab Bar Hidden',
key: 'test-tabs-tab-bar-hidden',
details:
'Test tabBarHidden prop on TabsHost - toggle to show/hide the tab bar at runtime',
platforms: ['ios', 'android'],
e2eCoverage: 'full',
smokeTest: false,
Expand Down
Loading