I can’t find an assertion for background color (or...
# compose
a
I can’t find an assertion for background color (or any colors) in Compose UI test functions nor in any documentation so far. Is there a way to check whether an element has an expected background color?
z
You can
rule.captureToImage()
and check the pixels
a
Thanks @Zach Klippenstein (he/him) [MOD]. I guess that will have to do 😄