LHN - RBR is missing from the report when it fails to export to QBO#54981
Conversation
|
@DylanDylann 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] |
|
@pac-guerreiro Could you solve the lint errors? I think it is minor change 😄 |
|
@DylanDylann ESLint check is failing because of default ID rules, which will be ignored once this PR is merged in a day or two 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
arosiclair
left a comment
There was a problem hiding this comment.
This looks good to me, however can we start adding unit tests for this? Let's add at least one that verifies shouldShowRedBrickRoad returns true when report.errorFields.export is set. I tried to test this locally, but I'm having issues setting up a QBO connection in my environment atm, so unit tests are the way to go.
|
@arosiclair I agree with you! Today I dedicated my time to write unit tests for this PR but I haven't finished them yet. |
…the-report-when-it-fails-to-export-to-qbo
…the-report-when-it-fails-to-export-to-qbo
|
@arosiclair Sorry for the delay here, I just pushed a commit with a test suite for SidebarUtils 😄 |
arosiclair
left a comment
There was a problem hiding this comment.
Thanks for the changes
|
@arosiclair looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Skipped ESLint warnings for old code |
|
✋ 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/arosiclair in version: 9.0.85-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.85-0 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.85-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.85-0 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.0.85-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.85-4 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.85-4 🚀
|
Explanation of Change
Fixed Issues
$#53924
PROPOSAL: #53924 (comment)
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop