Update TestDrive link for invited employees#65900
Conversation
|
Unit tests are flaky on |
|
Reviewing this one now. |
|
@fabioh8010 is the concierge link opening in the browser the expected behaviour? Screen.Recording.2025-07-14.at.18.42.36.mov |
|
@Ollyws Is this a account you created while testing my PR on dev, or you created in another environment? I'm asking because I noticed the open link is from staging, so if you created the account there first the task was created with the staging URL, so when testing in DEV this would happen with that account. If you use an account that was created in DEV environment, this shouldn't happen while testing the PR. |
|
Ah yeah that was the issue, thanks. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp01_Android_Native.mp4Android: mWeb Chrome02_Android_Chrome.mp4iOS: HybridApp03_iOS_Native.mp4iOS: mWeb Safari04_iOS_Safari.mp4MacOS: Chrome / Safari05_MacOS_Chrome.mp4MacOS: DesktopMacOS_Desktop.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.1.81-0 🚀
|
| // Mark the viewTourTask as complete if we are redirected to Concierge after finishing the Navattic tour | ||
| const {navattic} = (route.params as {navattic?: string}) ?? {}; | ||
| if (navattic === CONST.NAVATTIC.COMPLETED) { | ||
| if (viewTourTaskReport) { | ||
| if (viewTourTaskReport.stateNum !== CONST.REPORT.STATE_NUM.APPROVED || viewTourTaskReport.statusNum !== CONST.REPORT.STATUS_NUM.APPROVED) { | ||
| completeTask(viewTourTaskReport); | ||
| } | ||
| } | ||
| } |
|
@fabioh8010 steps 1-5 work, but I don't see the test drive button on the reports page. This is a new user invited to a workspace. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.81-7 🚀
|
|
@luacmartins Once you see the Test drive demo the first time, the button will disappear in the other places. |
|
Ah I see. I was a bit confused from the test steps in the OP. Thanks for clarifying. |


Explanation of Change
Fixes #65797.
I'm also doing a bit of refactor to remove Navattic leftovers in the code that are not being used anymore as we are switching to Storylane and the embedded demo experience.
Fixed Issues
$ #65797
PROPOSAL:
Tests
Prerequisite: Invite a brand new account to a workspace
Note: To facilitate tests, in my recordings I purposely changed the code to not hide the test drive buttons once I open the demo. For QA testing you will probably need to have a new invited account for each step in steps 5, 6, 7.
Offline tests
N/A
QA Steps
Same as Tests.
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))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
Screen.Recording.2025-07-11.at.18.09.16-compressed.mov
Android: mWeb Chrome
I couldn't record for this platform because Chrome is instantly crashing in my emulator.
iOS: Native
In my recording the demo URL isn't being displayed because of my local company certificate that mess with it.
Screen.Recording.2025-07-11.at.18.21.18-compressed.mov
iOS: mWeb Safari
In my recording the demo URL isn't being displayed because of my local company certificate that mess with it.
Screen.Recording.2025-07-11.at.18.23.19-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2025-07-11.at.18.24.50-compressed.mov
Screen.Recording.2025-07-11.at.18.25.53-compressed.mov
MacOS: Desktop
Screen.Recording.2025-07-11.at.18.29.13-compressed.mov