Fix last message shows in multiline for expense with multiline description#72702
Conversation
|
@QichenZhu 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/Videos |
|
As discussed with @bernhardoj,
Given this uncertainty, I'm wondering if we should add unit tests for the long term.
|
|
@bernhardoj @QichenZhu If possible, let's add more tests, no need to create a ton, but maybe a few extras would be great |
|
@bernhardoj @QichenZhu I am going to merge this one in the meantime and we can open a new PR for additional new tests for the function you both mentioned. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@bernhardoj are you keen to do it or should I? |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.2.33-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.33-4 🚀
|
|
@QichenZhu I can do it within a few days |
|
@QichenZhu I'm trying to console.log something inside the I'm currently stuck mocking the correct data needed, so I need to log it. |
|
@bernhardoj, I usually run tests this way: TZ=utc NODE_OPTIONS=--experimental-vm-modules npx jest --coverage --silent=false --no-clear-console TestFile.tsNot sure if it helps. |
|
Hmm, it doesn't help. |
|
I can see the log now using the test:verbose script. |
|
Here is the PR: #73239 |







Explanation of Change
Fixed Issues
$ #72614
$ #60746
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop