[Test Drive][Phase 1][FE] Implement the Test Drive modal#60485
Conversation
This reverts commit 6d85317.
…guerreiro/feature/implement-test-drive-modal
|
@marcaaron sorry for the regression introduced by my previous PR. On |
|
cc @fabioh8010 |
|
@danieldoglas @eh2077 Could you have a look at this PR? The first one got reverted |
|
This is failing the linter. Can you please fix it? |
|
@danieldoglas @fabioh8010 I merged main to this branch, now it's passing 😄 |
Reviewer Checklist
Screenshots/Videos |
|
The Test Drive modal works for me on NewDot. @danieldoglas @fabioh8010 I don't have access to |
|
✋ 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/danieldoglas in version: 9.1.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.1.30-4 🚀
|






Explanation of Change
This PR reapplies the changes from #60078, which includes a fix for this regression.
I also added unit tests to prevent this regression from coming back.
Fixed Issues
$#60040
PROPOSAL: https://docs.google.com/document/d/1PryaYgnK8MeV2Zb_1Arp0HxSvRa7TJCjxGhTWGOVQ8s/edit?tab=t.0#heading=h.pnz5wvs9kyxc
Tests
Apply these changes to
src/Expensify.tsxin order to enable custom deep links:Then, follow these steps:
/onboarding/test-driveand verify the modal is rendered properly.new-expensify:///onboarding/test-driveand verify the modal is rendered properly.adb shell am start -a android.intent.action.VIEW -d "new-expensify://onboarding/test-drive"command with you device connected. Then verify that the modal is rendered properlyxcrun simctl openurl booted new-expensify://onboarding/test-drivecommand with your device connected. Then verify that the modal is rendered properly.Offline tests
Same as tests.
QA Steps
Web: Navigate to /onboarding/test-drive and verify the modal is rendered properly.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop