-
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
Autofill previously entered accounting and routing numbers #4477
Conversation
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.
Just noticed a case that I think might be a failure. It's a bit of an edge case, but we will definitely have customers who might not notice that the old numbers overwrote the newer details
- Run test steps 1 & 2
- Now, reopen the 'Add Bank Account' step but this time change the acc numbers
- Hit save & continue, then close the modal
- Reopen the 'Add Bank Account' step
- Notice that the OLD numbers are used -- this should instead show the last entered numbers (666666666 instead of 555555555 in the screencast)
not-overriding-nums.mov
Looking into this, it seems like there is an Onyx.merge call that isn't working properly in this flow. In this code the |
Ok, looks like the fix here is to just wait until the first merge call finishes before letting the 2nd one happen since the 2nd one is overwriting the first with the previous values. Testing and updating. |
@roryabraham @Julesssss updated to fix the edge case there, good find! |
Updated the testing steps to include the edge case you found @Julesssss, good find 👏 |
Confirmed the edge case is fixed 👍 |
✋ 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 @Julesssss in version: 1.0.83-2 🚀
|
@Jags96 Hello! We're currently unable to test this add bank account flow with our testing domains since all already have the Expensify card. Can we test this via navigating to staging.new.expensify.com/bank-account/new? |
@isagoico no worries, I'll do QA for this one and check it off on the spreadsheet! |
@roryabraham will you please review this?
Details
This PR updates the Add Bank Account flow to save the accountNumber and routingNumber if the user exits the flow after setting those values.
Fixed Issues
$ #4476
Tests/QA
Get Started
Save & Continue
Get Started
again, confirm routing number and account number are savedSave & Continue
Get Started
again. Verify that the routing and account number have been updated.Save & Continue
again.Get Started
again, confirm the values are pre-populatedTested On
Screenshots
Web/Desktop
Mobile