-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [IOAPPCROSS-209] Fix onboarding screens + Fix E2E test (#5410)
## Short description This PR restores the title and description in two onboarding screens (`ShareDataScreen` and `ServicesPreferenceScreen`) using the new component `RNavScreenWithLargeHeader` (also used in the profile-like screens). The PR also fixes a failed E2E test (onboarding flow). Both issues were introduced by the following PR: - #5333 ## List of changes proposed in this pull request - Update `OnboardingShareDataScreen` and `ServicesPreferenceScreen` to use the new `RNavScreenWithLargeHeader` - Update the relative navigator to show the header through `react-navigation` - Update `RNavScreenWithLargeHeader` to accept a custom `goBack` handler - Add the `titleTestID` optional prop to the `RNavScreenWithLargeHeader` component ## How to test - Launch the app with the flag `firstOnboarding` set to `true` - Run the following E2E test: `/ts/__e2e__/login.e2e.ts`
- Loading branch information
Showing
6 changed files
with
100 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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