Closed agrobbin closed 3 years ago
👋🏼 Hey @agrobbin! The fonts aren't requested in this snapshot. It looks like your network idle timeout is set to the default 100ms ([percy:core:network] Wait for 100ms idle (1ms)
). Let's up that to 250ms-300 so asset discovery waits long enough for the captured DOM to request the font https://docs.percy.io/docs/cli-configuration#discovery
The problem
In the last couple of weeks, we've noticed a significant increase in the # of intermittent diffs due to a missing font (in our case, Font Awesome).
Sometimes the font icons show up:
And sometimes they show as rectangles:
Environment
@percy/cli
version: 1.0.0-beta.68Details
The source diff does not include anything related to the font CSS or the related HTML. Due to the way the fonts are loaded (as part of a package that also includes all of our other page CSS, which is shown correctly) makes me think it's not an asset discovery/downloading issue, but something else.
Debug logs
The specific snapshot debug log output: