fix: Error in archived task Set up categories#61393
fix: Error in archived task Set up categories#61393robertjchen merged 3 commits intoExpensify:mainfrom
Conversation
|
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@truph01 Do you think we should write automate test to avoid this bug in the future 🤔 |
|
@hungvu193 Sure. I am on it now. |
|
Cool 😄 |
|
@hungvu193 I added the test. PR is ready to review |
There was a problem hiding this comment.
@hungvu193 Could you help run the test again?

Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-05-07.at.16.23.28.movAndroid: mWeb ChromemAndroidChrome.moviOS: HybridAppios.moviOS: mWeb SafariSafari.movMacOS: Chrome / SafariScreen.Recording.2025-05-07.at.15.37.13.movMacOS: DesktopScreen.Recording.2025-05-07.at.15.40.09.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/robertjchen in version: 9.1.42-0 🚀
|
| await Onyx.set(`${ONYXKEYS.NVP_INTRO_SELECTED}`, {choice: CONST.ONBOARDING_CHOICES.MANAGE_TEAM, setupCategories: taskReport.reportID}); | ||
| await waitForBatchedUpdates(); | ||
| }); | ||
| it('Return not empty object', () => { |
There was a problem hiding this comment.
Hi, just dropping in here, but can you please be more descriptive with the test names or comments? From looking at this test (and the one below), I have no context to understand why an empty or a non-empty object would be expected.
There was a problem hiding this comment.
@tgolen Should I create a follow-up PR to add a more descriptive explanation for the test?
|
🚀 Deployed to staging by https://github.com/robertjchen in version: 9.1.43-5 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.44-8 🚀
|


Explanation of Change
Fixed Issues
$ #61006
PROPOSAL: #61006 (comment)
Tests
Offline tests
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-05-06.at.13.48.33.mov
Android: mWeb Chrome
Screen.Recording.2025-05-06.at.13.50.38.mov
iOS: Native
Screen.Recording.2025-05-06.at.14.05.57.mov
iOS: mWeb Safari
Screen.Recording.2025-05-06.at.13.54.22.mov
MacOS: Chrome / Safari
Screen.Recording.2025-05-06.at.12.52.24.mov
MacOS: Desktop
Screen.Recording.2025-05-06.at.12.52.24.mov