-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Approved expense preview does not show GBR when submitter needs to add a bank account #35486
Conversation
@cubuspl42 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] |
@cubuspl42 Sorry for this delay. I'm in Lunar New Year holiday. I'll take a look at it tmr |
Added some feedback |
I'm having trouble testing this. Would you post a video including both the admin's and the employee's side? I didn't manage to trigger the "Add bank account" prompt so far. |
@cubuspl42 I just mock the data for testing. You can try:
I add the mock report action to render the |
You didn't follow your own testing steps from the "Tests" section. This is not fine. Please don't do that again. Mocking during final testing is the last resort when testing the actual user scenario is impossible or extremely difficult. Is this such a case? Please fix this. Update the testing steps if necessary. Re-record the video(s) again at least for one platform, let's say MacOS: Chrome / Safari. Include both sides of the user interaction (admin and non-admin). |
@cubuspl42 I just recorded the video for Mac: Chrome within full steps. I also mocked the report action since I didn't know how to reproduce (maybe we need the Expensify account). Is it fit for you? Thanks |
This statement must be true in the context of the Expensify project: The Contributor, the author of the PR, describes the steps they performed to test that the solution works in the "Tests" section of the PR description. They are the same steps they performed when recording the videos in the "Screenshot/Videos" of the PR description. Is this news? Make this true ☝️ Either update the "Tests" steps to match what you actually did (including the mocking details), or actually do what you described in the "Tests" section. Both options would be better from the current state. The latter would be much preferred. Please clarify how to reproduce the original issue on GH issue/Slack. |
@cubuspl42 how about your test? |
@cubuspl42 I still can add the collect WS on main. Can you help check it soon? Screen.Recording.2024-03-06.at.10.53.27.mp4 |
Oh, I get it. So as I understand it, it's not available anymore in the Workspace Switcher, but can be accessed by searching. Thanks, I'll resume the testing! |
Maybe my IQ level is not high enough for this issue. I can only approve the request from the admin's side: What are your currency settings for your Collect workspace on the OldDot side? Do I understand correctly that you use your local currency? What are you Reimbursement settings for your Collect workspace on the OldDot side? Also, changing currency doesn't work for me on the NewDot side: Maybe a recent regression, I don't know... Not strictly related, but I wanted to test with USD to see if it changes anything. |
How are you able to "Pay with Expensify" if the app says that you don't have the "Direct" method enabled or the business bank account connected? Is it expected to work like this? |
If you still observe "Pay with Expensify" on the "Indirect" config, we can report this as a problem/regression in the context of #36814. I'm sorry to drag you through this, but we need to ensure this is end-to-end tested if possible. |
I'm checking |
@cubuspl42 Pls follow these steps to reproduce Prerequisite:
Test steps:
Videos: web-resize.mp4 |
I updated video for chrome and Prerequisite steps as well |
Hope this helps and we can merge this PR soon |
Thanks for the update! I'm on it.
So do I! Still, pushing the working and tested changes is the highest priority |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeadd-bank-account-gbr-android-compressed.mp4Android: mWeb Chromeadd-bank-account-gbr-android-web-compressed.mp4iOS: Nativeadd-bank-account-gbr-ios-compressed.mp4iOS: mWeb Safariadd-bank-account-gbr-ios-web-compressed.mp4MacOS: Chrome / Safariadd-bank-account-gbr-web-converted.mp4MacOS: Desktop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
✋ 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/blimpich in version: 1.4.52-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
Details
Fixed Issues
$ #34278
PROPOSAL: #34278 (comment)
Prerequisite:
Default Business Bank Account
to the above bank accountTests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-02-01.at.16.36.19.mov
Android: mWeb Chrome
Screen.Recording.2024-02-01.at.16.41.21.mov
iOS: Native
Screen.Recording.2024-02-01.at.16.25.45.mov
iOS: mWeb Safari
Screen.Recording.2024-02-01.at.16.37.14.mov
MacOS: Chrome / Safari
web-resize.mp4
MacOS: Desktop
Screen.Recording.2024-02-01.at.15.54.48.mov