-
Notifications
You must be signed in to change notification settings - Fork 106
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: [IOBP-901] Missing header in payment methods #6318
fix: [IOBP-901] Missing header in payment methods #6318
Conversation
BPAY and PayPal card header title missing case
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6318 +/- ##
==========================================
- Coverage 48.42% 46.99% -1.44%
==========================================
Files 1488 1804 +316
Lines 31617 36567 +4950
Branches 7669 8763 +1094
==========================================
+ Hits 15311 17183 +1872
- Misses 16238 19319 +3081
+ Partials 68 65 -3
... and 1422 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
ts/features/payments/details/screens/PaymentsMethodDetailsScreen.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM!
## Short description This pull request includes a change to the `PaymentsMethodDetailsScreen` component to enhance the `getCardHeaderTitle` function. The update adds specific handling for BPAY and PayPal payment methods. ## List of changes proposed in this pull request - Update `getCardHeaderTitle` function to handle missing edge cases ## How to test ### io-dev-server To test all card cases, update the `generateWalletData` function by adding this line: `generateUserWallet(3)` ### io-app - Tap in _Portafoglio_ - BPAY or PayPal card - Verify the correct card header title is displayed --------- Co-authored-by: Alessandro <[email protected]>
Short description
This pull request includes a change to the
PaymentsMethodDetailsScreen
component to enhance thegetCardHeaderTitle
function. The update adds specific handling for BPAY and PayPal payment methods.List of changes proposed in this pull request
getCardHeaderTitle
function to handle missing edge casesHow to test
io-dev-server
To test all card cases, update the
generateWalletData
function by adding this line:generateUserWallet(3)
io-app