Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different output in Azure Pipeline (linux agent) than MacOS #21

Open
dimitriy-k opened this issue Jun 4, 2019 · 1 comment
Open

Different output in Azure Pipeline (linux agent) than MacOS #21

dimitriy-k opened this issue Jun 4, 2019 · 1 comment

Comments

@dimitriy-k
Copy link

dimitriy-k commented Jun 4, 2019

First of all, thanks for nice additional feature for cypress!

I set it up on my Mac OS, so generated base screens. When running again, everything is green. But, when it is build in Azure Pipeline on Linux agent it fails. On the diff screenshot "shadow of all texts" is highlighted. Any suggestion how to fix it?

Screenshot 2019-06-04 at 08 47 57

@dimitriy-k
Copy link
Author

Ok, I found out that screenshots on different environments are "always" not exactly the same, depends on rendering fonts etc.

I have fixed it by generating base screenshots on MacOS with docker cypress/base:ubuntu16 image, Azure Pipleline uses Ubuntu 16.04 as well, so the rendering is the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant