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

Layout inconsistency between reference file and real app #1287

Open
dnahirna opened this issue Mar 8, 2021 · 3 comments
Open

Layout inconsistency between reference file and real app #1287

dnahirna opened this issue Mar 8, 2021 · 3 comments

Comments

@dnahirna
Copy link

dnahirna commented Mar 8, 2021

Hi!
Need help here) I have a lot of tests but someday they become failed, because on real screenshots all buttons with wrong styling...
On real website all looks good...
On the screenshot below you can see this difference using scrubber
image

"backstopjs": "^5.1.0"

@fuhlig
Copy link
Contributor

fuhlig commented Mar 9, 2021

Could be caused by stylesheets not being processed when screenshot is taken.
Consider using readySelector or delay
https://github.com/garris/BackstopJS#advanced-scenarios

@dnahirna
Copy link
Author

@fuhlig Thanks a lot! Will try)

@dnahirna
Copy link
Author

I found a reason, maybe this info will be useful:
My product's layout styles stopped supporting Chrome version 87 and older, this was actually the root cause issue

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

2 participants