Skip to content

refactor(test): Update scenario-description and scenario files for existing tabs tests #4092

Open
LKuchno wants to merge 7 commits into
mainfrom
@lkuchno/scenarioDescription-update
Open

refactor(test): Update scenario-description and scenario files for existing tabs tests #4092
LKuchno wants to merge 7 commits into
mainfrom
@lkuchno/scenarioDescription-update

Conversation

@LKuchno
Copy link
Copy Markdown
Collaborator

@LKuchno LKuchno commented May 25, 2026

Description

In PR #4059 , we refactored the test directory structure by extracting scenarioDescription into dedicated files. The ScenarioDescription type was extended with two new properties: e2eCoverage and smokeTest, whose values were initially set to tbd and false.

This PR updates the existing files for tabs tests with the correct values taken from the scenarios (E2E section) and marks the tests identified as smokeTest for releases.

The E2E section in several scenarios was also updated. To unify naming for tests coverage we will use values define for e2eCoverage property: fully, incomplete and tbd. For incomplete state, if scenario is not automated at all I started from this information before explanation why it currently can't be covered in e2e.

Scenario.md template updated in e2e section with fully, incomplete and tbd values.

Closes: https://github.com/software-mansion/react-native-screens-labs/issues/1474

Changes

  • Updated the scenario-description.ts file with the e2eCoverage and smokeTest properties.
  • Updated several scenarios in the E2E section to use fully, incomplete and tbd values.
  • Updated Scenario.md template in E2E section changes Yes/No/Other to Full/Incomplete/Tbd with description similar or the same as for values for e2ecoverage
  • Updated Scenario.md template in Steps template to reflect decision made after discussion about format of expected results started from: feat(iOS, FormSheet v5): Add support for backgroundComponent #4100 (comment)

…st, small upateds in scenario e2e section remane from Yes/Other to partial when test is partially automated
@LKuchno LKuchno added area:tabs Issue related to bottom tabs type:docs Improvements or additions to documentation labels May 25, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the test scenario documentation and metadata for the Tabs-related single-feature tests, aligning the scenario.md “E2E test” section and each scenario’s ScenarioDescription.e2eCoverage/smokeTest flags with the newer classification scheme (full / incomplete / tbd) introduced in #4059.

Changes:

  • Updated apps/src/tests/template/scenario.md to use the new E2E coverage states (Full/Incomplete/Tbd).
  • Revised multiple Tabs scenarios’ scenario.md E2E sections to use the new labels and updated wording.
  • Set correct e2eCoverage values and marked selected Tabs scenarios as smokeTest: true in scenario-description.ts.

Reviewed changes

Copilot reviewed 25 out of 25 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
apps/src/tests/template/scenario.md Updates the scenario template E2E section to the new coverage state scheme.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-minimize-behavior-ios/scenario.md Adjusts E2E coverage wording/label for this scenario.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-minimize-behavior-ios/scenario-description.ts Sets e2eCoverage to match the scenario’s automation status.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-hidden/scenario.md Updates E2E coverage label and description text.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-hidden/scenario-description.ts Sets e2eCoverage to full.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-experimental-user-interface-style-ios/scenario.md Updates E2E coverage label and explanation.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-experimental-user-interface-style-ios/scenario-description.ts Sets e2eCoverage to incomplete.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-controller-mode-ios/scenario.md Updates E2E coverage label to Tbd.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-color-scheme/scenario.md Updates E2E coverage label and explanation.
apps/src/tests/single-feature-tests/tabs/test-tabs-tab-bar-color-scheme/scenario-description.ts Sets e2eCoverage and marks as smokeTest.
apps/src/tests/single-feature-tests/tabs/test-tabs-stale-update-rejection/scenario.md Updates E2E coverage label and clarifies what’s covered/not covered.
apps/src/tests/single-feature-tests/tabs/test-tabs-stale-update-rejection/scenario-description.ts Sets e2eCoverage and marks as smokeTest.
apps/src/tests/single-feature-tests/tabs/test-tabs-special-effects-scroll-to-top/scenario.md Updates E2E coverage label to Full.
apps/src/tests/single-feature-tests/tabs/test-tabs-special-effects-scroll-to-top/scenario-description.ts Sets e2eCoverage to full.
apps/src/tests/single-feature-tests/tabs/test-tabs-simple-nav/scenario-description.ts Marks as smokeTest.
apps/src/tests/single-feature-tests/tabs/test-tabs-prevent-native-selection/scenario.md Updates E2E coverage label to Incomplete.
apps/src/tests/single-feature-tests/tabs/test-tabs-prevent-native-selection/scenario-description.ts Sets e2eCoverage and marks as smokeTest.
apps/src/tests/single-feature-tests/tabs/test-tabs-override-scroll-view-content-inset-ios/scenario.md Updates E2E coverage label to Full.
apps/src/tests/single-feature-tests/tabs/test-tabs-override-scroll-view-content-inset-ios/scenario-description.ts Sets e2eCoverage to full.
apps/src/tests/single-feature-tests/tabs/test-tabs-more-navigation-controller-ios/scenario.md Updates E2E coverage label to Tbd.
apps/src/tests/single-feature-tests/tabs/test-tabs-lifecycle-events/scenario.md Updates E2E coverage label to Incomplete.
apps/src/tests/single-feature-tests/tabs/test-tabs-lifecycle-events/scenario-description.ts Sets e2eCoverage to incomplete.
apps/src/tests/single-feature-tests/tabs/test-tabs-bottom-accessory-layout-ios/scenario.md Updates E2E coverage label to Incomplete and adjusts wording.
apps/src/tests/single-feature-tests/tabs/test-tabs-bottom-accessory-layout-ios/scenario-description.ts Sets e2eCoverage to incomplete.
apps/src/tests/single-feature-tests/tabs/test-tabs-appearance-defined-by-selected-tab/scenario-description.ts Marks as smokeTest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/src/tests/template/scenario.md
## E2E test

Yes: Covers all manual scenario steps. For iOS test are covered only for iPhone, e2e is not suitable for iPad execution due to use 'UITabBar' type (on iPad new tab bar at the top is not an instance of UITabBar).
Full: Covers all manual scenario steps. For iOS test are covered only for iPhone, e2e is not suitable for iPad execution due to use 'UITabBar' type (on iPad new tab bar at the top is not an instance of UITabBar).
## E2E test

Partial: covers most of manual scenario steps only for iPhone; iPad testing would
Incomplete: covers most of manual scenario steps only for iPhone; iPad testing would
## E2E test

Other: E2E test only makes sense on iPad to verify sidebar visibility. Currently, e2e tests are run only on iPhone devices - TBD.
Tbd: E2E test only makes sense on iPad to verify sidebar visibility. Currently, e2e tests are run only on iPhone devices - TBD.
@LKuchno LKuchno changed the title refactor(test): Update scenario-description file for existing tabs tests refactor(test): Update scenario-description and scenario files for existing tabs tests May 25, 2026
@LKuchno LKuchno requested a review from kkafar May 25, 2026 12:58
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:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants