Skip to content

chore(test): E2E test-tabs-more-navigation-controller covering part of scenario for iPhone#3905

Draft
LKuchno wants to merge 29 commits intomainfrom
@lkuchno/E2E-test-tabs-tab-bar-more-navigation-controller
Draft

chore(test): E2E test-tabs-more-navigation-controller covering part of scenario for iPhone#3905
LKuchno wants to merge 29 commits intomainfrom
@lkuchno/E2E-test-tabs-tab-bar-more-navigation-controller

Conversation

@LKuchno
Copy link
Copy Markdown
Collaborator

@LKuchno LKuchno commented Apr 20, 2026

Draft explanation

This PR is waiting for fix https://github.com/software-mansion/react-native-screens-labs/issues/1171 as e2e test are failing due to described problem with labels.

Description

This PR introduces E2E Detox automation for the test-tabs-more-navigation-controller scenario, verifying the native iOS More navigation controller behavior. The changes ensure correct navigation to overflow tabs, proper onMoreTabSelected event lifecycle, and repeated More tab tap handling. Included updates to the test screen to provide necessary testID hooks for Detox.

Closes: https://github.com/software-mansion/react-native-screens-labs/issues/1085?issue=software-mansion%7Creact-native-screens-labs%7C1157

Changes

test-tabs-tab-bar-more-navigation-controller.e2e.ts:

  • Implemented Detox test suite covering baseline tab bar state, More tab navigation, programmatic tab selection, and repeated More tab tap behavior.
  • Added dedicated repeated More tab selection test case verifying that onMoreTabSelected fires only on the first tap that opens the More list, not on subsequent taps.

test-tabs-more-navigation-controller/index.tsx:

  • Added tabBarItemTestID props to all six tab route configs to enable tab bar item identification in tests.
  • Added testID to the content view Text component and the navigation buttons View for reliable element targeting.

test-tabs-more-navigation-controller/scenario.md:

  • Documents E2E automation coverage and known limitations (More tab selection/focused check in tab bar omitted due to Detox limitations; iPad steps not automated due to resize constraints).

LKuchno and others added 24 commits April 9, 2026 11:10
…ns into @lkuchno/test-tabs-tab-bar-more-navigation-controller
…ns into @lkuchno/test-tabs-tab-bar-more-navigation-controller
…ns into @lkuchno/test-tabs-tab-bar-more-navigation-controller
…ns into @lkuchno/test-tabs-tab-bar-more-navigation-controller
…ns into @lkuchno/test-tabs-tab-bar-more-navigation-controller
…tion-controller/scenario.md

Co-authored-by: Kacper Kafara <kacper.kafara@swmansion.com>
…of github.com:software-mansion/react-native-screens into @lkuchno/E2E-test-tabs-tab-bar-more-navigation-controller
@LKuchno LKuchno added area:tabs Issue related to bottom tabs type:chore A general maintenance task, that does not fall into other categories. type:e2e Actions related to e2e maintenance and development, especially automation. labels Apr 20, 2026
LKuchno added 3 commits April 20, 2026 15:31
…ns into @lkuchno/E2E-test-tabs-tab-bar-more-navigation-controller
…th 1140 issue, adding some checks about 5th and 6th tab visibility
@LKuchno LKuchno requested review from kkafar, kligarski and t0maboro and removed request for kligarski and t0maboro April 21, 2026 05:57
@LKuchno LKuchno marked this pull request as draft April 21, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tabs Issue related to bottom tabs type:chore A general maintenance task, that does not fall into other categories. type:e2e Actions related to e2e maintenance and development, especially automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant