Skip to content
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

chore: [IOBP-982] Add outcome 99 into mock webview payment page #438

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

Hantex9
Copy link
Contributor

@Hantex9 Hantex9 commented Nov 19, 2024

Short description

This PR adds outcome 99 inside the mocked payment webpage

List of changes proposed in this pull request

  • Added outcome 99 as BE_NODE_KO inside the dropdown that shows when starting the payment flow in-app

How to test

Describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.85%. Comparing base (ab8e660) to head (4ffc27b).
Report is 5 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #438      +/-   ##
==========================================
- Coverage   64.04%   63.85%   -0.20%     
==========================================
  Files         167      167              
  Lines        5399     5437      +38     
  Branches      739      769      +30     
==========================================
+ Hits         3458     3472      +14     
+ Misses       1940     1820     -120     
- Partials        1      145     +144     

see 34 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45127d3...4ffc27b. Read the comment docs.

---- 🚨 Try these New Features:

@Hantex9 Hantex9 merged commit 19dfb9b into master Nov 19, 2024
8 checks passed
Hantex9 added a commit to pagopa/io-app that referenced this pull request Nov 20, 2024
## Short description
This PR adds outcome 99 inside the payment screen when receiving it from
the backend.

## List of changes proposed in this pull request
- Created a custom `BE_NODE_KO` that's equals to outcome `99`;
- Mapped the new outcome inside the labels and the screen to show into
the `WalletPaymentOutcomeScreen.tsx` file;
- Added missing outcomes to keep track on mixpanel inside the
`getPaymentAnalyticsEventFromFailureOutcome` function

## How to test
- Checkout and run the dev-server with this PR:
pagopa/io-dev-api-server#438;
- Complete the payment flow and choose from the dropdown the BE_NODE_KO;

## Preview


https://github.com/user-attachments/assets/a062456d-44a1-4f9f-ae3e-a9fb45644d98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants