We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Library Version:
3.6.0 (the latest one right now)
Describe the Bug:
When checking if a View has a background passing a R.color.something, Barista fails. This is the error it gives:
View
R.color.something
com.schibsted.spain.barista.internal.failurehandler.BaristaException: View (with id: com.fewlaps.app.debug:id/view) didn't match condition (with background from resource id: <2131034144>[background_warning])
Steps to reproduce the bug:
assertHasBackground(R.id.view, R.color.background_warning);
Expected Behavior:
The assertion passes if the background is applied, and fails otherwise.
The text was updated successfully, but these errors were encountered:
Just pushed a branch that reproduces this issue. Long life to EDD!
https://github.com/AdevintaSpain/Barista/tree/assert-background-with-color
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Library Version:
3.6.0 (the latest one right now)
Describe the Bug:
When checking if a
View
has a background passing aR.color.something
, Barista fails. This is the error it gives:Steps to reproduce the bug:
assertHasBackground(R.id.view, R.color.background_warning);
Expected Behavior:
The assertion passes if the background is applied, and fails otherwise.
The text was updated successfully, but these errors were encountered: