Conversation
|
@rushatgabhane 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: HybridAppWhatsApp.Video.2025-05-08.at.19.41.50.mp4Android: mWeb ChromeiOS: HybridAppScreen.Recording.2025-05-08.at.18.49.40.movMacOS: Chrome / SafariScreen.Recording.2025-05-08.at.18.46.54.movMacOS: Desktop |
|
test could be simplified to -
|
|
I think given the other logic comparing reportAction length, we should do a full test with the integration failing and then marking the test as manually exported |
|
okayy makes sense |
rushatgabhane
left a comment
There was a problem hiding this comment.
LGTM!
WhatsApp.Video.2025-05-08.at.19.41.50.mp4
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
[CP Staging] Update export logic (cherry picked from commit 2fdd9e4) (cherry-picked to staging by luacmartins)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.1.42-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.1.43-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.44-8 🚀
|
| if (getOriginalMessage(action)?.markedManually) { | ||
| return true; | ||
| } | ||
| exportIntegrationActionsCount++; |
There was a problem hiding this comment.
Coming from #70011, we should exclude the action that has the type is exportTemplate

Explanation of Change
Updates the logic so that we always consider a manually exported report as exported (even if there are automated failures). I also refactored the code a bit and added automated tests.
cc @jnowakow
Fixed Issues
$ #61643
Tests
Pre-requisite: a workspace connected to QBO and auto sync is enabled.
Offline tests
N/A
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
Screen.Recording.2025-05-08.at.4.39.57.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop