Skip to content

Difference in docker in GH actions vs docker locally #271

@Jacek-fstack

Description

@Jacek-fstack

Hello!
I have a huge problem that I have no idea how to overcome - maybe it's a bug, maybe there's a workaround.
To make sure there's NO difference between snapshots taken on various machines and CI we dockerized our tests.
There's one container that's running Storybook and another running cypress with cypress-image-snapshot plugin.
However, when ran locally between various machines there's 0 differences, but in CI it fails, especially where fonts are involved in copmonents.
Here's an example:
Image

Did anyone encounter this issue?
We're running electron, Cypress' latest docker image.
Yes, I made 100% sure that all fonts are loading etc. (I even added 5s explicit wait just to double check).
Makes no sense to me why these would differ, but here we are.
Anybody had these issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions