Expense - Workspace chat still displays GBR in LHN after changing report workspace#64909
Conversation
|
@dominictb 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-06-26.at.03.05.00-compressed.movAndroid: mWeb ChromeScreen.Recording.2025-06-30.at.16.34.43-compressed.moviOS: HybridAppiOS: mWeb SafariScreen.Recording.2025-06-26.at.02.51.11-compressed.movMacOS: Chrome / SafariScreen.Recording.2025-06-26.at.02.15.51-compressed.movMacOS: DesktopScreen.Recording.2025-06-26.at.02.52.35.mov |
dominictb
left a comment
There was a problem hiding this comment.
Should follow coding convention even in unit tests.
|
|
||
| await Onyx.set(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${fakeReport.reportID}`, MOCK_REPORT_ACTIONS); | ||
|
|
||
| expect(getIOUReportActionToApproveOrPay(fakeReport, '3')).toMatchObject(MOCK_REPORT_ACTIONS['1']); |
There was a problem hiding this comment.
| expect(getIOUReportActionToApproveOrPay(fakeReport, '3')).toMatchObject(MOCK_REPORT_ACTIONS['1']); | |
| expect(getIOUReportActionToApproveOrPay(fakeReport)).toMatchObject(MOCK_REPORT_ACTIONS['1']); |
There was a problem hiding this comment.
@dominictb getIOUReportActionToApproveOrPay require 2 arguments
dominictb
left a comment
There was a problem hiding this comment.
Do we actually need the "Approver" in Tests? Test steps should be minimal to reproduce the issue.
|
@dominictb updated. Please help to check again |
|
@thelullabyy We have a failing job, I'm going to revert this to clean that up. Could you open another one and check if the job is correctly pass? Thank you! |
|
🚀 Deployed to staging by https://github.com/mollfpr in version: 9.1.74-2 🚀
|
|
@dominictb @mollfpr Looks like this PR has been reverted. Should we still QA it? |
|
@mvtglobally No you don't need to for now. Thanks. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.74-10 🚀
|
Explanation of Change
Fixed Issues
$#64452
PROPOSAL:#64452 (comment)
Tests
Precondition:
Offline tests
QA Steps
Precondition:
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
android.mov
Android: mWeb Chrome
android_chorme.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios_safari.mov
MacOS: Chrome / Safari
chorme.mov
MacOS: Desktop
desktop.mov