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

Follow up of #15055 - Verify wallet modal popup isn't shown after clicking on "Verify wallet" via BR panel when the wallet balance is less than 25 BAT #15889

Closed
GeetaSarvadnya opened this issue May 17, 2021 · 4 comments · Fixed by brave/brave-core#8824

Comments

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented May 17, 2021

Description

Follow up of #15055
Verify wallet modal popup isn't shown after clicking on "Verify wallet" via BR panel when the wallet balance is less than 25 BAT

Steps to Reproduce

Scenarios 1:

  1. Clean profile 1.25.60, enable rewards and claim UGP grants
  2. Open a verified pub and send 6 BAT to a verified pubs
  3. Make sure wallet balance is less than 25 BAT
  4. Click on "Verify wallet" in BR panel
  5. Uphold Authorize page is displayed instead on Verify Wallet modal popup

Scenarios 2:

  1. Clean profile 1.25.60, enable rewards and claim UGP grants
  2. Open a verified pub and send 15 BAT to a verified pubs
  3. Make sure wallet balance is equals to 15 BAT
  4. Click on "Verify wallet" in BR panel
  5. Uphold Authorize page is displayed instead on Verify Wallet modal popup

Note: Please note, if wallet balance is 30 BAT click on Verify wallet via BR panel opens up "Verify wallet" modal popup, issue is arising only when wallet balance is less than 25 BAT and equals to 15 BAT

Actual result:

Click on "Verify wallet" in BR panel is redirecting to Uphold Authorize page

Expected result:

Click on "Verify wallet" in BR panel should opens up "Verify wallet" modal popup
image

Reproduces how often:

Easy

Brave version (brave://version info)

Brave 1.25.60 Chromium: 90.0.4430.212 (Official Build) beta (64-bit)
Revision e3cd97fc771b893b7fd1879196d1215b622c2bed-refs/branch-heads/4430@{#1429}
OS Windows 10 OS Version 2004 (Build 19041.985)

Version/Channel Information:

  • Can you reproduce this issue with the current release? NA
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

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

Miscellaneous Information:

cc: @brave/legacy_qa @zenparsing @emerick @rebron

@GeetaSarvadnya GeetaSarvadnya changed the title Follow up of #15055 - Verify wallet modal popup isn't shown after clicking on Very wallet via BR panel when rewards wallet has 15 BAT Follow up of #15055 - Verify wallet modal popup isn't shown after clicking on "Verify wallet" via BR panel when rewards wallet has 15 BAT May 17, 2021
@GeetaSarvadnya GeetaSarvadnya changed the title Follow up of #15055 - Verify wallet modal popup isn't shown after clicking on "Verify wallet" via BR panel when rewards wallet has 15 BAT Follow up of #15055 - Verify wallet modal popup isn't shown after clicking on "Verify wallet" via BR panel when the wallet balance is less than 25 BAT May 17, 2021
@LaurenWags
Copy link
Member

LaurenWags commented May 17, 2021

cc @Miyayes as this does not occur on 1.24.x so this is a regression. Please advise on if this is needed to be fixed for 1.25.x.

Note - with 1.24.x if you click on "Verify Wallet" from the panel with an adequate balance (>= 25 BAT), a new tab opens and redirects the user to brave://rewards/#verify.

@LaurenWags
Copy link
Member

Additionally, on 1.25.x, if you click on "Verify Wallet" from brave://rewards page, you get the modal. But clicking on "Verify Wallet" from the panel does not show this.

@LaurenWags
Copy link
Member

Adding QA/Blocked until this is uplifted to 1.25.x

@GeetaSarvadnya
Copy link
Author

GeetaSarvadnya commented May 21, 2021

Verification passed on


Brave | 1.25.65 Chromium: 91.0.4472.57 (Official Build) (64-bit)
-- | --
Revision | e3443317fa07f1e9997e4a9c738eddfefc3c0292-refs/branch-heads/4472_54@{#6}
OS | Windows 10 OS Version 2004 (Build 19041.985)

Verified the STR from #15889 (comment)

Scenario 1: wallet balance is 24 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel

image

Scenario 2: wallet balance is 15 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
Wallet balance 15 BAT Click Verify wallet via BR panel Verify wallet modal popup uphold authorization
image image image image
Scenario 3: wallet balance is 20 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
Wallet balance 20 BAT Click Verify wallet via BR panel Verify wallet modal popup uphold authorization
image image image image
Scenario 4: Upgrade case which has wallet balance less than 25 BAT
  • Installed 1.24.x nightly build and made sure wallet balance is less than 25 BAT
  • Confirmed that click on Verify wallet via BR panel in 1.24.x shows the message as min wallet balance should be 25 BAT to create uphold account
  • Upgrade the profile to 1.26.x nightly build
  • Confirmed that click on Verify wallet via BR panel in 1.25.x displays the Verify wallet modal popup as expected
1.24.x 1.24.x 1.25.x 1.25.x 1.25.x
image image image image image

Verified passed with

Brave	1.25.65 Chromium: 91.0.4472.57 (Official Build) (x86_64)
Revision	e3443317fa07f1e9997e4a9c738eddfefc3c0292-refs/branch-heads/4472_54@{#6}
OS	macOS Version 10.15.7 (Build 19H1030)

Verified scenarios below.

Scenario 1: wallet balance is 24 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
Wallet balance 24 BAT/Click Verify wallet via BR panel Verify wallet modal popup uphold authorization
1a 1b 1c
Scenario 2: wallet balance is 20 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
Wallet balance 20 BAT/Click Verify wallet via BR panel Verify wallet modal popup uphold authorization
2a 2b 2c
Scenario 3: wallet balance is 15 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
Wallet balance 15 BAT/Click Verify wallet via BR panel Verify wallet modal popup uphold authorization
3a 3b 3c
Scenario 4: wallet balance is 14 BAT
  • Confirmed that the Login popup is displayed upon clicking on Verify wallet via BR panel and on brave://rewards when balance is less than 15 BAT
Wallet balance 14 BAT Login prompt via BR panel Wallet balance 14 BAT Login prompt via brave://rewards
4a 4b 4c 4d
Scenario 5: Upgrade case which has wallet balance less than 25 BAT
  • Installed 1.24.x release build and made sure wallet balance is less than 25 BAT
  • Confirmed that click on Verify wallet via BR panel in 1.24.x shows the message as min wallet balance should be 25 BAT to create uphold account
  • Upgrade the profile to 1.25.x release preview build
  • Confirmed that click on Verify wallet via BR panel in 1.25.x displays the Verify wallet modal popup as expected
1.24.x 1.24.x 1.25.x 1.25.x
5a 5b 5c 5d

Verification passed on

Brave 1.25.65 Chromium: 91.0.4472.57 (Official Build) (64-bit)
Revision e3443317fa07f1e9997e4a9c738eddfefc3c0292-refs/branch-heads/4472_54@{#6}
OS Linux

Verified the STR from #15889 (comment)

Scenario 1: wallet balance is 24 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel

image|image|
image
--|--|--

Scenario 2: wallet balance is 15 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
    image|image|image
    --|--|--
Scenario 3: wallet balance is 20 BAT
  • Confirmed that the Verify wallet modal popup is displayed upon clicking on Verify wallet via BR panel
image image image
Scenario 4: Upgrade case which has wallet balance less than 25 BAT
  • Installed 1.24.x build and made sure wallet balance is less than 25 BAT
  • Confirmed that click on Verify wallet via BR panel in 1.24.x shows the message as min wallet balance should be 25 BAT to create uphold account
  • Upgrade the profile to 1.26.x nightly build
  • Confirmed that click on Verify wallet via BR panel in 1.25.x displays the Verify wallet modal popup as expected
image image image

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