Open MarcellPerger1 opened 10 months ago
- As a temporary fix, just increase the tolerance on the test to make CI work again
Turns out changing the comparisonMethod
to ssim
made it work
Still seems to be a bit inconsistent, see https://github.com/MarcellPerger1/minecraft_clone_1/actions/runs/9618002711/job/26530972442
The problem isn't with my tests (probably), it's with my code or with WebGL. It puts the texture coords a bit off (and sometimes more than just a bit off) so the tests fail as the textures are off.
It seems to have weeks where it works well and weeks where it just doesn't want to work at all.
Image snapshot test is very unreliable: ~15% difference and it's making CI fail.
antialias=false
would fix it)