Open stephiescastle opened 1 month ago
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.
I have the same issues after migration from Storybook 7 - Storybook 8 randomly, some stories fail
After each build, the result is different
We've also been having similar issues across our team – very inconsistent, and rerunning the snapshot eventually works (without any code changes).
Happy to provide more information if needed!
We are experiencing the same issue after upgrading Storybook from 8.2.9 to 8.3.0.
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.