-
Notifications
You must be signed in to change notification settings - Fork 892
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
Added tests for rewards service #375
Conversation
c5b856e
to
9e31890
Compare
blocked on brave/brave-ui#94 |
@jasonrsadler please remove vendor files |
vendor files removed (Thanks for the assist) |
components/brave_rewards/browser/rewards_service_browsertest.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/rewards_service_browsertest.cc
Outdated
Show resolved
Hide resolved
// toggle auto contribute off | ||
bool result; | ||
ASSERT_TRUE(ExecuteScriptAndExtractBool(contents(), | ||
"var interval = setInterval(function() {" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs a max retry - see web_view_browsertest.cc WaitForWebViewInDom for an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonrsadler can you please do a follow up for this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Making Rewards panel height dynamic
Fixes brave/brave-browser#938
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Tests cover the following areas:
you can run tests with:
npm run test -- brave_browser_tests --filter=BraveRewardsBrowserTest.*
Reviewer Checklist: