-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Incorrect response value for the metrics Brave.Today.UsageMonthly
#30722
Comments
@GeetaSarvadnya did you ensure the sent flag was set to true before advancing the system time? Also I see that you have an NTP in your tabs. If that's a restored tab with a news session, then the metric will be recorded as expected. |
@DJAndries The sent flag value is "true" which is mentioned in the step 5 above.
@DJAndries Let me close the NTP before I advance the sys date and try again. Thanks! |
@DJAndries I have closed the NTP before advancing the sys date, After advancing the sys date, the usagemonthly metrics value is still |
The issue is reproducible in Android as well hence adding OS/Android label |
@GeetaSarvadnya I noticed that you're advancing the clock by one day. Please advance it by one calendar month instead |
@DJAndries In the scebario above, If I set the sys date ahead by one day a month is changing (i.e May 31st->1st June) but there is only one day difference between the two month, so I though the monthly usage metrics should not be shown on the 1st June if I have NOT viewed brave news feeds on 1st June. But, if the monthly usage metrics calculation is considering the calendar month then this issue is working as expected. e.g If I view brave news feeds today 14th June and confirmed monthly usage metrics response value is |
@GeetaSarvadnya sorry, i just realized that you were testing at the end of the month, which should work... I just followed your steps, but used the dates June 30 and July 1. The results were expected. Could you please re-test with these dates? again, sorry for the confusion |
Description
Found while testing #30154
Incorrect response value for the metrics
Brave.Today.UsageMonthly
Steps to Reproduce
Brave.Today.UsageMonthly
response value is1
and the flag value is set to "true" as expectedBrave.Today.UsageMonthly
Brave.Today.UsageMonthly
response value is still1
which is incorrect as 1st June I have not viewed any brave news feedsActual result:
Incorrect response value for the metrics
Brave.Today.UsageMonthly
Expected result:
the metrics
Brave.Today.UsageMonthly
should not be shown in June month as no news feeds are viewed in June monthReproduces how often:
Easy
Brave version (brave://version info)
Other Additional Information:
Miscellaneous Information:
cc: @brave/qa-team @DJAndries @mattmcalister
The text was updated successfully, but these errors were encountered: