-
Notifications
You must be signed in to change notification settings - Fork 45
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
Stories inconsistently fail to render during Percy tests #1008
Comments
stephiescastle
changed the title
Stories inconsistently fail during Percy tests due
Stories inconsistently fail to render during Percy tests
Jul 31, 2024
17 tasks
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Not stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
Stories inconsistently fail during Percy tests due to "Unable to preload css for
https://render.percy.local/{filename}.css
"Environment
@percy/cli
version: 1.28.7Details
I'm getting flaky tests when using percy-storybook because the stories aren't rendering consistently, making the diff unhelpful.
Outside of Percy tests, the Storybook renders fine. In some builds, the stories will render successfully. In other builds (without having made any codebase changes), the stories will render an error:
"Unable to preload css for
https://render.percy.local/{filename}.css
"All of the above is from running Percy in CI. I also tested running percy from my machine, and I get the same flaky results appearing in the snapshots uploaded from my computer.
Debug logs
I wasn't able to find any helpful info in the debugging logs, but here they are:
debuglog.txt
Code to reproduce issue
I haven't found a way to dependably reproduce this, as it always changes.
The text was updated successfully, but these errors were encountered: