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

P3A - Incorrect response values for Auto-contribute #10088

Closed
GeetaSarvadnya opened this issue Jun 4, 2020 · 4 comments · Fixed by brave/brave-core#8477
Closed

P3A - Incorrect response values for Auto-contribute #10088

GeetaSarvadnya opened this issue Jun 4, 2020 · 4 comments · Fixed by brave/brave-core#8477

Comments

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Jun 4, 2020

Description

P3A - Incorrect response values for Auto-contribute

(Brave.Rewards.AutoContributionsState.2)

  1. No wallet created
  2. Rewards Disabled
  3. Wallet created, Auto-Contribute off
  4. Auto-contribute enabled, no contribution so far
  5. Auto-contribute enabled, one successful contribution so far
  6. Auto-contribute enabled, more than one successful contribution so far

Steps to Reproduce

  1. Clean profile 1.10.x launch brave using `brave.exe --rewards=staging=true,reconcile-interval=3`
  2. Enable rewards
  3. Claim UGP grant
  4. Open local-state file and look for "Brave.Rewards.AutoContributionsState.2"
  5. `Brave.Rewards.AutoContributionsState.2` is set to `3`  (`Auto-contribute enabled, no contribution so far`) as expected
  6. Wait for 1st auto contribution
  7. After AC, `Brave.Rewards.AutoContributionsState.2` is set to `3` (`Auto-contribute enabled, no contribution so far`) instead of `4` (`Auto-contribute enabled, one successful contribution so far`)
  8. Trigger 2nd auto contribution
  9. After AC, `Brave.Rewards.AutoContributionsState.2` is set to `3` (`Auto-contribute enabled, no contribution so far`) instead of `5` (`Auto-contribute enabled, more than one successful contribution so far`)

Note: The issue started appearing after 1.5.x

Actual result:

P3A - Incorrect response values for Auto-contribute

Expected result:

correct response values should be displayed for Auto-contribute in Brave Rewards

Reproduces how often:

Always

Brave version (brave://version info)

Brave 1.10.84 Chromium: 81.0.4044.138 (Official Build) dev (64-bit)
Revision 8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}
OS Windows 10 OS Version 1803 (Build 17134.1006)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes in 1.9.x, 1.8.x, 1.7.x. Not in 1.5.123
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev 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: @mattmcalister @bsclifton @rebron @iefremov

@rebron
Copy link
Collaborator

rebron commented Jul 31, 2020

cc: @NejcZdovc

@GeetaSarvadnya GeetaSarvadnya added the OS/Android Fixes related to Android browser functionality label Jan 13, 2021
@GeetaSarvadnya
Copy link
Author

This issue is arising in Android also, Verified in the nightly build 1.20.74

@stephendonner
Copy link

stephendonner commented Apr 16, 2021

Verified PASSED using

Brave 1.25.19 Chromium: 90.0.4430.72 (Official Build) nightly (x86_64)
Revision b6172ef8d07ef486489a4b11b66b2eaeed50d132-refs/branch-heads/4430@{#1233}
OS macOS Version 11.2.3 (Build 20D91)

Steps:

  1. Clean profile 1.10.x launch using brave.exe --rewards=staging=true,reconcile-interval=3
  2. Enabled rewards
  3. Claimed UGP grant
  4. Opened brave://local-state and looked for "Brave.Rewards.AutoContributionsState.2"
  5. Confirmed Brave.Rewards.AutoContributionsState.2 is set to 3 (Auto-contribute enabled, no contribution so far) as expected
  6. Waited for 1st auto contribution
  7. After AC, verified Brave.Rewards.AutoContributionsState.2 was correctly now set to 4 (Auto-contribute enabled, one successful contribution so far)
  8. Triggered 2nd auto contribution
  9. After AC, confirmed Brave.Rewards.AutoContributionsState.2 was set to 5 (Auto-contribute enabled, more than one successful contribution so far)
example example example example example example
Screen Shot 2021-04-15 at 5 31 27 PM Screen Shot 2021-04-15 at 5 53 33 PM Screen Shot 2021-04-15 at 5 34 16 PM Screen Shot 2021-04-15 at 5 34 25 PM Screen Shot 2021-04-15 at 5 34 41 PM Screen Shot 2021-04-15 at 5 35 51 PM

Verification passed on


Brave | 1.25.57 Chromium: 90.0.4430.93 (Official Build) beta (64-bit)
-- | --
Revision | 4df112c29cfe9a2c69b14195c0275faed4e997a7-refs/branch-heads/4430@{#1348}
OS | Windows 10 OS Version 2004 (Build 19041.928)

  • Verified the STR from the description
Rewards enabled but no AC After 1st AC After 2nd AC
image image image

Verification passed on

Brave 1.25.59 Chromium: 90.0.4430.212 (Official Build) beta (64-bit)
Revision e3cd97fc771b893b7fd1879196d1215b622c2bed-refs/branch-heads/4430@{#1429}
OS Ubuntu 18.04 LTS
  • Verified the STR from the description
image image image

@stephendonner stephendonner added QA Pass-macOS and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Apr 16, 2021
@srirambv
Copy link
Contributor

Verification passed on OnePlus 6T with Android 10 running 1.25.60 x64 Beta Build

  • Verified steps from issue description
image image

Verification passed on Samsung Tab A with Android 10 running 1.25.60 x64 Beta Build

  • Verified steps from issue description
image image

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