[Internal QA] Change payer for share#79760
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@joekaufmanexpensify you could start testing on ad-hoc build |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1fa576338
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
# Conflicts: # src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx
|
🚧 @joekaufmanexpensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
We're testing Expensify Card unshare error case here. |
BUG: We're only showing changed payer after the user closes the success pageSteps
Expect resultWhen you land on the success page on web, we should show the new payer listed in the main pane before you close the success page because the success page implies the action already occurred. Actual resultWhen you land on the success page on web, we show the old payer listed in the main pane before you close the success page. We update the payer row after closing the success page. This is not a consideration on mobile where the payer row isn't visible on the success page. 2026-01-19_12-09-48.mp4 |
I could not reproduce based on your steps First part is not your case (because you see error message on the screen about workspace.common.notAuthorized) |
Could you please also share onyx data - when you switch payer - we need to be sure that data is coming from API - seems to me something is messed up on API side/response cc @NikkiWines |
|
@NikkiWines i checked @situchan Onyx data - and see that his user get
|
|
@narefyev91 yes that sounds correct according to this code |
NikkiWines
left a comment
There was a problem hiding this comment.
Couple of very small things, otherwise looks good
I noticed we don't have any integration tests for sharing the bank account or setting the payer - ideally we'd add some for both, but maybe that can be done as a follow up to not hold up this PR any futher.
NikkiWines
left a comment
There was a problem hiding this comment.
Some spacing issues otherwise great!
Co-authored-by: Nikki Wines <nikkiwines@expensify.com>
Co-authored-by: Nikki Wines <nikkiwines@expensify.com>
Co-authored-by: Nikki Wines <nikkiwines@expensify.com>
|
🚧 @NikkiWines has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 9.3.40-0 🚀
|
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 9.3.40-0 🚀
|
|
Tests well! Only thing I noticed is this Staging
Design doc
|
|
Marked as done for QA |
I think now it's intentional - and coming from this one #80929 @joekaufmanexpensify |
|
Nice, good eye. All set then! |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀
|





Explanation of Change
Implement release 3: Share bank account when changing payer
from the bank account sharing in NewDot design doc: https://docs.google.com/document/d/1l8ODiSIiEIE-a9zjj69ACqCHGHeLPwf4c-H5SJn3uHg/edit?tab=t.0#bookmark=id.z9fushq34kgu
Fixed Issues
$ #73252
PROPOSAL:
Tests
Tests Case 1 - bank account is in OPEN state - bank account was not shared with anyone
Tests Case 2 - bank account is in OPEN state - bank account already shared with that user before
Tests Case 3 - bank account is in PENDING state
Tests Case 4 - bank account is NOT in PENDING or OPEN state
Offline tests
QA Steps
Tests Case 1 - bank account is in OPEN state - bank account was not shared with anyone
Tests Case 2 - bank account is in OPEN state - bank account already shared with that user before
Tests Case 3 - bank account is in PENDING state
Tests Case 4 - bank account is NOT in PENDING or OPEN state
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
web.mov