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

Publisher list v4 #9502

Closed
NejcZdovc opened this issue Apr 28, 2020 · 2 comments · Fixed by brave/brave-core#5568
Closed

Publisher list v4 #9502

NejcZdovc opened this issue Apr 28, 2020 · 2 comments · Fixed by brave/brave-core#5568

Comments

@NejcZdovc
Copy link
Contributor

No description provided.

@NejcZdovc NejcZdovc added this to Backlog in Brave Rewards via automation Apr 28, 2020
@NejcZdovc NejcZdovc moved this from Backlog to In progress in Brave Rewards Apr 28, 2020
@NejcZdovc NejcZdovc added OS/Android Fixes related to Android browser functionality OS/Desktop labels Jun 10, 2020
@NejcZdovc NejcZdovc added this to New Issues in Android Core 1.12 Jun 10, 2020
@anthonypkeane anthonypkeane moved this from New Issues to In Progress in Android Core 1.12 Jun 10, 2020
@NejcZdovc NejcZdovc moved this from In progress to Review in Brave Rewards Jun 15, 2020
@NejcZdovc NejcZdovc moved this from Review to In progress in Brave Rewards Jun 18, 2020
@zenparsing zenparsing moved this from In progress to Review in Brave Rewards Jun 29, 2020
@zenparsing zenparsing added this to the 1.12.x - Nightly milestone Jul 7, 2020
Brave Rewards automation moved this from Review to Done Jul 7, 2020
@LaurenWags
Copy link
Member

Android specific issue logged with #10836

@LaurenWags LaurenWags removed the OS/Android Fixes related to Android browser functionality label Jul 21, 2020
@NejcZdovc NejcZdovc removed this from In Progress in Android Core 1.12 Jul 21, 2020
@LaurenWags
Copy link
Member

LaurenWags commented Jul 30, 2020

Verified cases below using a mix of

Brave	1.12.94 Chromium: 84.0.4147.89 (Official Build) dev (64-bit)
Revision	19abfe7bcba9318a0b2a6bc6634a67fc834aa592-refs/branch-heads/4147@{#852}
OS	macOS Version 10.14.6 (Build 18G3020)
Brave	1.12.99 Chromium: 84.0.4147.89 (Official Build) dev (64-bit)
Revision	19abfe7bcba9318a0b2a6bc6634a67fc834aa592-refs/branch-heads/4147@{#852}
OS	macOS Version 10.14.6 (Build 18G3020)

In addition to the test plan above, also checked the various publisher statuses and how they display with the various wallet types as below:

  1. Using a restored anon wallet (with deposited user funds) confirm various publisher statuses:
  • PASSED Visit an unverified publisher.

    • Confirm pub status in panel, tip banners.
    • Confirm panel and tip banners show expected messaging about unverified publisher.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions panel on rewards page.
    • Do a one time tip. Confirm one time tip goes to pending list immediately.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it goes to pending list.
    • Confirm AC does not occur for this publisher.
    • Confirm this publisher does not show in monthly statement on any section.
  • PASSED Visit a connected (not KYC'd) publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip displays in tips table on rewards page, on summary and monthly statement.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it shows in summary and monthly statement.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.
  • PASSED Visit a KYC'd publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip displays in tips table on rewards page.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it shows in summary and monthly statement.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.
  1. Using a wallet with VG funds confirm various publisher statuses:
  • PASSED Visit an unverified publisher.

    • Confirm pub status in panel, tip banners.
    • Confirm panel and tip banners show expected messaging about unverified publisher.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions panel on rewards page.
    • Do a one time tip. Confirm one time tip goes to pending list immediately.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it goes to pending list.
    • Confirm AC does not occur for this publisher.
    • Confirm this publisher does not show in monthly statement on any section.
  • PASSED Visit a connected (not KYC'd) publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip displays in tips table on rewards page, on summary and monthly statement.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it shows in summary and monthly statement.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.
  • PASSED Visit a KYC'd publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip displays in tips table on rewards page.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it shows in summary and monthly statement.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.
  1. Using a KYC'd Uphold wallet confirm various publisher statuses:
  • PASSED Visit an unverified publisher.

    • Confirm pub status in panel, tip banners.
    • Confirm panel and tip banners show expected messaging about unverified publisher.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions panel on rewards page.
    • Do a one time tip. Confirm one time tip goes to pending list immediately.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it goes to pending list.
    • Confirm AC does not occur for this publisher.
    • Confirm this publisher does not show in monthly statement on any section.
  • PASSED Visit a connected (not KYC'd) publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm panel and tip banners show expected messaging about publisher who has not configured their account to receive tips/contributions.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip goes to pending list immediately.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it goes to pending list.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.
  • PASSED Visit a KYC'd publisher.

    • Confirm pub status in panel, both tip banners, including custom banner if applicable.
    • Confirm publisher can be added to AC table (if applicable, not all publisher types are part of AC).
    • Do a recurring tip. Confirm recurring tip shows in monthly contributions table on rewards page.
    • Do a one time tip. Confirm one time tip displays in tips table on rewards page.
    • Confirm correct pub status is displayed on brave://rewards page.
    • Confirm when recurring tip is contributed it shows in summary and monthly statement.
    • Confirm when AC is contributed it shows in summary and monthly statement.
    • Confirm this publisher is shown correctly in monthly statement on all applicable sections.

Verified the below using

Brave	1.12.105 Chromium: 84.0.4147.105 (Official Build) (64-bit)
Revision	a6b12dfad6663f13a7e16e9a42a6a4975374096b-refs/branch-heads/4147@{#943}
OS	macOS Version 10.14.6 (Build 18G3020)
  1. Confirm that each type of publisher (website, YT, etc) pulls info for banners correctly:

    • PASSED Clean profile, enable rewards. Visit a verified website. Confirm it gets the correct status in panel and on banners. Confirm custom banner info is displayed.
    • PASSED Clean profile, enable rewards. Visit a verified YT channel. Confirm it gets the correct status in panel and on banners. Confirm custom banner info is displayed.
    • PASSED Clean profile, enable rewards. Close and restart browser due to existing issue. Visit a verified Twitch channel. Confirm it gets the correct status in panel and on banners. Confirm custom banner info is displayed. (Note, existing Twitch issues encountered were: verified logo not displaying until panel is opened for Twitch publishers #5848, panel doesn't immediately show twitch publisher info #6851, [Android] Verified Twitch account doesn't show verified in BR panel #7826)
    • PASSED Clean profile, enable rewards. Visit a verified Vimeo channel. Confirm it gets the correct status in panel and on banners. Confirm custom banner info is displayed.
    • PASSED Clean profile, enable rewards. Visit a verified Twitter channel. Confirm it gets the correct status in panel and on banners. Click on in-line tip button. Confirm it gets the correct status in the banner. Confirm custom banner info is displayed.
    • PASSED Clean profile, enable rewards. Visit a verified Reddit channel. Confirm it gets the correct status in panel and on banners. Click on in-line tip button. Confirm it gets the correct status in the banner. Confirm custom banner info is displayed.
    • PASSED Clean profile, enable rewards. Visit a verified GitHub channel. Confirm it gets the correct status in panel and on banners. Click on in-line tip button (need to be signed in). Confirm it gets the correct status in the banner. Confirm custom banner info is displayed.
  2. PASSED Upgrade case A

    • Install 1.11.x (current release channel version), enable Rewards, confirm entire publisher list is downloaded, close browser.
    • Confirm server_publisher_info and other server_publisher_* tables are populated.
    • Upgrade to 1.12.x, launch browser. Confirm inserting records into publisher prefix table is complete.
    • Open publisher DB.
    • Confirm server_publisher_info and other server_publisher_* tables are now empty.
    • Confirm publisher_prefix_list is populated (each row should contain one field with raw binary data).
  3. PASSED Upgrade case B

    • Install 1.11.x (current release channel version), enable Rewards, confirm entire publisher list is downloaded, close browser.
    • Remove a publisher from the DB (I removed all associated information from all server_publisher* tables)
    • Run 1.11.x and visit the publisher you removed, confirm they do not show as verified in UI. Close tab with this page.
    • Close browser.
    • Upgrade to 1.12.x.
    • Launch. Confirm inserting records into publisher prefix table is complete. Visit the publisher you removed.
    • Confirm publisher shows correct status on panel and banners.
    • Open DB and confirm publisher info is correct for this publisher (info will be added to server_publisher_* tables as you browse to verified/connected sites).
  4. PASSED Upgrade case C

    • Install 1.11.x (current release channel version), enable Rewards, connect KYC'd Uphold account, confirm entire publisher list is downloaded, close browser.
    • Open DB and modify a KYC'd publisher to be connected (change status field in server_publisher_info from 2 to 1 and I deleted the address field contents also).
    • Run 1.11.x and visit the publisher you removed.
    • Confirm this publisher shows the messaging about how this user has not configured their account to receive tips. Close this page.
    • Close browser.
    • Upgrade to 1.12.x.
    • Launch. Confirm inserting records into publisher prefix table is complete. Visit the publisher you removed.
    • Confirm the publisher shows as fully verified (no messaging about unable to receive tips) on panel and banners.
    • Open DB and confirm publisher info is correct for this publisher (info will be added to server_publisher_* tables as you browse to verified/connected sites).
  5. PASSED Upgrade case D

    • Install 1.11.x (current release channel version), enable Rewards, confirm entire publisher list is downloaded.
    • Visit some sites (mix of verified and unverified) to populate your AC table
    • Set up a couple recurring tips to verified/non verified sites
    • Send a couple of tips to verified sites
    • Upgrade to 1.12.x
    • Confirm AC list is still populated and all sites in the AC list still show the correct status (verified/not verified as applicable)
    • Confirm recurring tips list still shows the correct status for sites (verified/not verified as applicable)
    • Confirm tips list still shows the correct status for sites (verified)

Additional notes - confirmed there is no more "auto-exclude" list with v4.


Verification passed on


Brave | 1.12.105 Chromium: 84.0.4147.105 (Official Build) (64-bit)
-- | --
Revision | a6b12dfad6663f13a7e16e9a42a6a4975374096b-refs/branch-heads/4147@{#943}
OS | Windows 10 OS Version 1903 (Build 18362.959)

  • Verified all the scenarios which @LaurenWags mentioned above on windows.

Verification passed on

Brave 1.12.107 Chromium: 84.0.4147.105 (Official Build) (64-bit)
Revision a6b12dfad6663f13a7e16e9a42a6a4975374096b-refs/branch-heads/4147@{#943}
OS Ubuntu 18.04 LTS

@rebron rebron changed the title New publisher list (v4) Publisher list v4 Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment