oblador / loki

👁 Visual Regression Testing for Storybook

Home Page:https://loki.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chrome.docker differences when running in CI compared to on MacOS

PeterChen1997 opened this issue · comments

I got the same issue like #434

I running the tests on my m1 mac and arm runner, got the diffs below

image

and the current is
chrome_laptop_Components_AutoSizeTextarea_Editable

reference is
chrome_laptop_Components_AutoSizeTextarea_Editable

I use the default config for loki

And I don't want to set the tolerance to check the component clearly 👀 Is there any method to fix this?

I test it on the resemblejs. The two image actually not the same in a slight diff

image

The same here. The issue seems to be that the Chrome container renders differently in ARM64 and x86 architectures.

yeps, I used my m1 mbp as a runner, it works fine🤣