chore(test): E2E test-tabs-prevent-native-selection#3928
Open
chore(test): E2E test-tabs-prevent-native-selection#3928
Conversation
…ns into @lkuchno/e2e-test-tabs-prevent-native-selection
…ns into @lkuchno/e2e-test-tabs-prevent-native-selection
Collaborator
Author
|
Android tests are failing because toasts and the Tabs screen list are displayed 'under' the system navigation bar on older Android versions. This test is waiting for a fix or a workaround. |
…ns into @lkuchno/e2e-test-tabs-prevent-native-selection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an automated E2E test suite for the preventNativeSelection prop on TabsScreen, covering iPhone, Android phone, and the iOS More tab controller. Not covering iPad specific steps due to Detox limitations.
Closes: https://github.com/software-mansion/react-native-screens-labs/issues/1163
Changes
e2e/single-feature-tests/tabs/test-tabs-prevent-native-selection.e2e.ts
test-tabs-prevent-native-selection/index.tsx
Added testID to the container view, screen name label, prevention state label, and toggle button. Added testID to all six "Select X" navigation buttons. Added tabBarItemTestID to all six route configs so tab bar items are directly addressable by Detox.
test-tabs-prevent-native-selection/scenario.md
Updated E2E status from "ongoing research" to "partially automated" with notes on what is not automated (iPad resize interactions, repeated More tab re-selection). Corrected steps 9–11 in the "Multiple tabs" section - step 9 now explicitly navigates to the Fourth tab and toggles prevention there before tapping Third, matching actual test behavior. Renumbered all subsequent steps accordingly.