Support to load only one CVV component from the same mediator
Support to load multiple CVV components from the different mediator
Enabled check for empty CVV length for all card schemes. For instance, if the merchant injects the Maestro, on 0 length CVV validation returns false for isCVVValid
Covered UI tests
Note: Sample app only load component and full design will be cover in following PRs
Test Steps
To validate load only one CVV component from the same mediator, call mediator.CVVComponent() in CVVTokenizationScreen multipletimes. Expected should be one cvv component in the screen
To validate load load multiple CVV components from the different mediator, create new mediators in CVVTokenizationScreen and expected output should be multiple CVV components
To validate zero length failure for valid schemes, inject Maestro as a scheme and check the log value. Expected should be on zero length it should be false.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
[X] Reviewers assigned
[X] I have performed a self-review of my code and manual testing
[X] Lint and unit tests pass locally with my changes
[X] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if applicable)
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you choose the solution you did and what alternatives you considered, etc...
Issue
PIMOB-2181
Proposed changes
Note: Sample app only load component and full design will be cover in following PRs
Test Steps
mediator.CVVComponent()
in CVVTokenizationScreen multipletimes. Expected should be one cvv component in the screenChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you choose the solution you did and what alternatives you considered, etc...