You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we were testing #1350 tonight, several internal employees including myself started running into CAPTCHA issues. We couldn't complete the CAPTCHA and figured the fix wasn't working. However, @evq mentioned that the server ran out of grants so there weren't any to accept.
We shouldn't be notifying issues when there's no grants available.
Steps to Reproduce
We'll need to create a scenario on staging where there's no more grants available. Launching brave with a new profile in this scenario shouldn't notify the user that there's grants available.
ensure that the above scenario is setup (most likely on staging)
install brave and enable rewards (you shouldn't be seeing any notifications)
add more grants to the backend
restart brave with a new profile and ensure that the notifications are now being displayed
Actual result:
Being notified that there's a grant available even though the server has ran out of grants.
Expected result:
Users shouldn't be notified about grants if there's none left on the server.
QA worked with @maikelmclauflin to verify that this has been fixed. The staging server was put into a state where the promotion was live, but grants ran out. At this point, QA launched Brave using the staging server and ensured that we didn't receive any notifications regarding grants. Once we confirmed the above, @maikelmclauflin reloaded staging with more grants and QA confirmed that the notifications being displayed. We also ensured that the grants were redeemable.
Test Case that QA ran through on macOS, Win and Linux:
@maikelmclauflin put the staging server into a state where the promotion was live but grants ran out
QA installed Brave on all three platforms and ensured that we weren't receiving notifications
Description
When we were testing #1350 tonight, several internal employees including myself started running into CAPTCHA issues. We couldn't complete the CAPTCHA and figured the fix wasn't working. However, @evq mentioned that the server ran out of grants so there weren't any to accept.
We shouldn't be notifying issues when there's no grants available.
Steps to Reproduce
We'll need to create a scenario on staging where there's no more grants available. Launching brave with a new profile in this scenario shouldn't notify the user that there's grants available.
Actual result:
Being notified that there's a grant available even though the server has ran out of grants.
Expected result:
Users shouldn't be notified about grants if there's none left on the server.
Reproduces how often:
Assuming it's 100% as @mandar-brave @yrliou @jenn-rhim and myself reproduced the issue over and over again.
Brave version (brave://version info)
Additional Information
CCing @evq
The text was updated successfully, but these errors were encountered: