-
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
Show correct notice on tipping banner for unregistered creators #10137
Conversation
5b44a18
to
a658387
Compare
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
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.
We have yet another reference to siteBannerConnectedText
in brave-browser\src\brave\.storybook\locale.ts
.
a658387
to
9417edd
Compare
Verified using
Verified test plan from #10137 (comment) Scenario 1 - Not registered - PASSEDConfirmed message 1 is displayed on the tipping banner
Scenario 2 - Registered but not verified - Skipped, will be fixed with #10242 Scenario 3 - Verified and user is not connected - PASSEDConfirmed no message is displayed on the tipping banner
Scenario 4 - Verified with non-matching wallet provider - PASSEDConfirmed message 2 is displayed on the tipping banner
Scenario 5 - Verified with matching wallet provider - PASSEDConfirmed no message is displayed on the tipping banner
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#18137
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: "NOTE: 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: "NOTE: 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
Example staging creator:
www.reddit.com/user/jsadler-brave
Case 3: Verified and user is not connected
Example staging creator:
laurenwags.github.io
Case 4: Verified with non-matching wallet provider
Case 5: Verified with matching wallet provider