Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Regression tests mismatch when running in Travis #436

Open
dami-gg opened this issue Feb 5, 2018 · 0 comments
Open

Regression tests mismatch when running in Travis #436

dami-gg opened this issue Feb 5, 2018 · 0 comments
Assignees

Comments

@dami-gg
Copy link
Member

dami-gg commented Feb 5, 2018

When running visual regression tests in Travis CI, we get some errors on some components, for example:

https://travis-ci.org/zalando/dress-code/jobs/337491564

After some investigation, it could be related to differences in font rendering in different OS, since the current baseline is created in our Mac machines and Travis is running Ubuntu:

https://github.com/Huddle/PhantomCSS/issues/22

It is actually really hard to figure out right now what's the diff found since Travis discards the instance right after it finished. It would be really useful to try to publish the failures somewhere so we could check in case an error happens. This article proposes a possible solution:

https://twolfson.com/2014-02-25-visual-regression-testing-in-travis-ci

@dami-gg dami-gg self-assigned this Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant