-
Notifications
You must be signed in to change notification settings - Fork 905
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
Adjust unverified publisher note display logic #10242
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.
LGTM
Verified using
Verified test plan from #10242 (comment) Scenario 1 - Not registered - PASSEDConfirmed message 1 is displayed on the tipping banner
Scenario 2 - Registered but not verified, user not verified - PASSEDConfirmed no message is displayed about publisher status
Scenario 3 - Registered but not verified, user verified - PASSEDConfirmed message 2 is displayed about publisher status
Scenario 4 - Verified and user is not connected - PASSEDConfirmed no message is displayed about publisher status
Scenario 5 - Verified with non-matching wallet provider - PASSEDConfirmed message 2 is displayed about publisher status
Scenario 6 - Verified with matching wallet provider - PASSEDConfirmed no message is displayed about publisher status
Additional checks performed: Anon wallet (funded via UGP grant) - PASSEDConfirmed tip to unverified creator went to pending list and appropriate message (1) was displayed:
Confirmed able to tip connected, Uphold, Gemini, and bitFlyer KYC'd creators and no messaging was displayed.
Uphold wallet (funded via Uphold BAT on staging env) - PASSEDConfirmed tip to unverified creator went to pending list and appropriate message (1) was displayed:
Confirmed tip to connected, Gemini, and bitFlyer creators went to pending list and appropriate message (2) was displayed:
Confirmed able to tip Uphold KYC'd creator and no messaging was displayed.
bitFlyer wallet (funded via bitFlyer BAT on staging env) - PASSEDConfirmed tip to unverified creator went to pending list and appropriate message (1) was displayed:
Confirmed tip to connected, Gemini, and Uphold creators went to pending list and appropriate message (2) was displayed:
Confirmed able to tip bitFlyer KYC'd creator and no messaging was displayed.
Gemini wallet (funded via Gemini BAT on staging env) - PASSEDConfirmed tip to unverified creator went to pending list and appropriate message (1) was displayed:
Confirmed tip to connected, bitFlyer, and Uphold creators went to pending list and appropriate message (2) was displayed:
Confirmed able to tip Gemini KYC'd creator and no messaging was displayed.
|
Resolves brave/brave-browser#18341
Previously, an "unverified tipping note" would appear in the following case:
Per clarification in brave/brave-browser#18137, the user should not see the message in this case on either the rewards panel or the tipping banner.
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
Message 1: "This creator is not signed up yet. Any tip you make will remain pending in your wallet and retry automatically for 90 days. Learn more."
Message 2: "This creator is currently not configured to receive tips from your wallet. Any tip you make will remain pending in your wallet and retry automatically for 90 days. Learn more."
Case 1: Not registered
Example staging creator:
apple.com
Case 2: Registered but not verified, user not verified
Example staging creator:
www.reddit.com/user/jsadler-brave
Case 3: Registered but not verified, user verified
Example staging creator:
www.reddit.com/user/jsadler-brave
Case 4: Verified and user is not connected
Example staging creator:
laurenwags.github.io
Case 5: Verified with non-matching wallet provider
Case 6: Verified with matching wallet provider