83867 travel workspace - #98631
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b59ff97bd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| setTravelProvisioningNextStep(ROUTES.TRAVEL_ENABLE.getRoute(policyID)); | ||
| Navigation.navigate(ROUTES.TRAVEL_VERIFY_ACCOUNT.getRoute(undefined, policyID), {forceReplace: true}); | ||
| Navigation.navigate(createDynamicRoute(DYNAMIC_ROUTES.TRAVEL_VERIFY_ACCOUNT.getRoute(policyID)), {forceReplace: true}); |
There was a problem hiding this comment.
Avoid returning to the guarded enable route
When this redirect runs from EnableTravel for an unvalidated user, createDynamicRoute() uses the current /travel/enable/:policyID URL as the dynamic route base. DynamicVerifyAccountPage then derives navigateBackTo from that base, so dismissing the validation page navigates back to EnableTravel, whose effect immediately redirects to verify-account again. The previous static verify route with forceReplace did not set the enable stepper as the close target, so users can now get stuck in the verify screen unless they complete validation.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
I can't reproduce this case. @suneox, can you reproduce it?
|
@suneox it's ready for review |
garrettmknight
left a comment
There was a problem hiding this comment.
Looks good from a product perspective
Test cases base on current code change
|
|
@huult Test case A.2b, A.5 failed. CleanShot.2026-08-18.at.15.17.01.1.mp4StagingCleanShot.2026-08-18.at.15.12.40.1.mp4 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariCleanShot.2026-08-18.at.15.42.45.1.mp4
|


































Explanation of Change
Fixed Issues
$ #83867
PROPOSAL:
Tests
Same QA step
Offline tests
QA Steps
TRAVEL_VERIFY_ACCOUNT
Precondition:
TRAVEL_WORKSPACE_CONFIRMATION
Precondition:
Update the URL from:
https://staging.new.expensify.com/search?q=type%3Aexpense-report%20sortBy%3Adate%20sortOrder%3Adesc
to:
https://staging.new.expensify.com/search/travel-upgrade?q=type%3Aexpense-report%20sortBy%3Adate%20sortOrder%3Adesc
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
TRAVEL_VERIFY_ACCOUNT
Screen.Recording.2026-08-14.at.13.06.19.mov
TRAVEL_WORKSPACE_CONFIRMATION
Screen.Recording.2026-08-14.at.13.14.48.mov