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

tip banner has message for connected publisher when panel does not - follow up to 5925 #6182

Closed
LaurenWags opened this issue Sep 26, 2019 · 3 comments · Fixed by brave/brave-core#3552

Comments

@LaurenWags
Copy link
Member

LaurenWags commented Sep 26, 2019

Description

Found while testing #5925

When executing test plan 1 & 2 from brave/brave-core#3399, the panel does not contain a message but the tip banner does. Neither panel nor tip banner should have a message in the scenarios described below.

Steps to Reproduce

Scenario 1 (from brave/brave-core#3399)

  1. Clean profile with 0.69.129 (staging env)
  2. Enable Rewards
  3. Claim Grant. Do not connect to Uphold at all - remain in anon wallet state
  4. Navigate to a connected publisher - kjozwiakstaging.github.io
  5. Click on panel - no message
  6. Click on Send a tip button

Scenario 2 (from brave/brave-core#3399)

  1. enable rewards
  2. claim grant
  3. connect to uphold account that is not KYC
  4. got to connected publisher
  5. open a panel and make sure that you don't see any notice
  6. Click on send a tip button.

Actual result:

Message displayed on tip banner but not on panel:
Screen Shot 2019-09-26 at 10 50 40 AM

Expected result:

Panel and tip banner should be the same in regards to whether a message is displayed or not. In this case, there shouldn't be a message on either since I am trying to tip a connected (non-KYC'd) publisher with Brave controlled (UGP grant) BAT.

Reproduces how often:

easily

Brave version (brave://version info)

Brave 0.69.129 Chromium: 77.0.3865.90 (Official Build) (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS macOS Version 10.13.6 (Build 17G5019)
Brave 0.72.55 Chromium: 77.0.3865.90 (Official Build) nightly (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS macOS Version 10.13.6 (Build 17G5019)

Version/Channel Information:

  • Can you reproduce this issue with the current release? 0.68.x no, 0.69.x yes
  • Can you reproduce this issue with the beta channel? unsure, probably yes
  • Can you reproduce this issue with the dev channel? unsure, probably yes
  • Can you reproduce this issue with the nightly channel? yes - 0.72.55

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? n/a
  • Does the issue resolve itself when disabling Brave Rewards? n/a
  • Is the issue reproducible on the latest version of Chrome? n/a

Miscellaneous Information:

cc @mandar-brave @NejcZdovc @brave/legacy_qa @rebron

@LaurenWags
Copy link
Member Author

Note - occurs whether the publisher has a custom banner (image, amounts, etc) or not. Here is an example with a default banner:
Screen Shot 2019-09-26 at 11 07 56 AM

@GeetaSarvadnya
Copy link

The issue is reproducible in windows 10 - 0.69.129

image

@LaurenWags
Copy link
Member Author

LaurenWags commented Oct 8, 2019

Verified passed with

Brave 0.70.109 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS macOS Version 10.13.6 (Build 17G5019)
  • Verified scenario 1 from description

6182-scenario1

  • Verified scenario 2 from description

6182-scenario2

  • Verified that same site does show the expected messaging when trying to tip using user BAT (BAT from an uphold connected wallet):

6182-regression

  • Verified no messaging is shown for a fully KYC'd publisher:

6182-reg2

Verification passed on

Brave 0.70.111 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS Ubuntu 18.04 LTS
  • Verified scenario 1 from description
    image
  • Verified scenario 2 from description
    image
  • Verified that same site does show the expected messaging when trying to tip using user BAT (BAT from an uphold connected wallet):
    image
  • Verified no messaging is shown for a fully KYC'd publisher:
    image

Verification passed on

Brave 0.70.112 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS Windows 10 OS Version 1803 (Build 17134.1006)
  • Verified scenario 1 from description

image

  • Verified scenario 2 from description

image

  • Verified that same site does show the expected messaging when trying to tip using user BAT (BAT from an uphold connected wallet):

image

  • Verified no messaging is shown for a fully KYC'd publisher:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment