-
Notifications
You must be signed in to change notification settings - Fork 607
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
Unreliable font loading causes difference between test and reference #1564
Comments
We are also experiencing this issue on 100+ websites with large testscanario's. Anything from 50-95% of tests fail. The fails are random. Every time we run the tests, the result is different. These tests used to run fine until we updated our entire npm stack. Mainly because the chromium we were using didn't support modern CSS (things like grid) and those tests failed. Tried almost every suggestion I could find here in this issue and related issues. Nothing has worked so far. 1/ 2/ 3/ 4/ 5/ 6/ 7/ I have run out of things to try... |
For reference, we tried (from dgrebb@bf413fb):
added to |
Thanks @giorgiosironi - this adds the same into the runner itself, and I've seen some very minimal improvements. Out of curiosity, and it sounds like the answer is no, could this be a CSP issue? The fonts are there sometimes but not always, correct? |
I experienced font intermittent issues a few years ago. It was very frustrating at the time. I resolved it by having the font files locally. In interceptFonts.js contains:
|
We are experiencing intermittent test failures due to font not loading for some scenarios.
Using BackstopJS 6.2.2, running in Docker with:
Examples:
Researching previous issues lead us to code to wait for font loading:
#1298 (comment)
#1303 (comment)
but due to the age of these issues we don't know how to implement this in
onReady
with the Puppeteer API, can anyone advise?The text was updated successfully, but these errors were encountered: