fix: add last actor name on draft report#74995
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Fine from a product perspective 👍
|
@Ollyws Friendly bump |
Reviewer Checklist
Screenshots/Videos |
dangrous
left a comment
There was a problem hiding this comment.
Can we add a unit test for this? Otherwise looks good!
|
Currently on another PR, I'll push the tests ASAP. |
|
@dangrous All yours. |
|
LGTM, but unrelated lint errors. Do we need to put in |
This comment was marked as outdated.
This comment was marked as outdated.
|
@dangrous lint has been fixed on main, we are good to go. |
|
✋ 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/dangrous in version: 9.2.63-0 🚀
|
|
I think these changes led to some flakey test cases. Could you please take a look at my fix to verify my test assertion changes are valid still. Thank you! |
|
I believe that fix is fine - @samranahm can you confirm? |
|
@dangrous Tests are working as expected. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.63-8 🚀
|


















Explanation of Change
Fixed Issues
$ #74080
PROPOSAL:
Tests
Change category to "Car"Test 02
Precondition:
Aas approver ofB's expensesBdraft expense in workspace chatAopen expense report fromBthat is not yet submittedA:included in LHN alternate text for admin and userB, andYou:forABsubmitted expense and LHN should include last actor nameYou: submittedAapprove andadminmark as paidALHN should be
Admin: marked as paidOffline tests
QA Steps
Same as test
// TODO: These must be filled out, or the issue title must include "[No QA]."
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.Native.mov
Android: mWeb Chrome
Android.mWeb.chrome.mov
iOS: Native
IOS.Native.mp4
iOS: mWeb Safari
IOS.mWeb.safari.mp4
MacOS: Chrome / Safari
macOS.chrome.mp4
MacOS: Desktop
Desktop.mp4