yes that is totally normal, you'll get differences even between emulators running on different platforms
j
Jordan Silva
09/14/2021, 7:54 AM
I was expecting this indeed. I’m trying to find some way to test just a component.
I’m working on Design System Components on top of Compose. So I’m trying to test and validate the shape, color, and visual information from this component.
The component itself is okay. Just the background behind it, it has this difference.
p
ppvi
09/14/2021, 7:54 AM
can't you just force the same surface background from the test?
j
Jordan Silva
09/14/2021, 7:56 AM
I tried with Box. But I guess with Surface will work. 🙂
Jordan Silva
09/14/2021, 8:00 AM
Using Surface instead Box worked! 🙂
Thanks!
👍 1
Jordan Silva
09/14/2021, 8:11 AM
Hahah, sorry, I jumped the gun.
Still gives me different colors 😕
E5E5E5 on API 28 & E6E6E6 on API 30. Even with Surface. 😕
I’ll investigate more. But thanks for your help.