-
Notifications
You must be signed in to change notification settings - Fork 88
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
storybook 7 support? #812
Comments
Storycap should be compatible with storybook 7. I'd recommend trying to run storycap against pre built storybook since since new storybook versions loads http url before stories are finished generating.
|
At least with Storybook v7.4.0 I get the following error running Storycap with the built Storybook output:
|
According to the latest Storybook docs, the path
|
I think this is the commit at the Storybook repo causing the change. |
I currently work around this issue by manually installing |
Seems running storycap in non managed and verbose mode doesnt give me details , why every page opens with "no story found". When I change configuration to old v4 store , storycap works in non managed run. |
Upgrading from storybook 7.1 to 7.4.2 solved the issue that storycap renders "No Preview" because no story was found. I still suggest that storycap updates the README.md that it supports v7 in non/managed mode. |
I'm having issues running storycap in GitHub Actions. Stories will sometimes capture the "No preview" screen at random. It's frustrating because it works fine locally. I think it has to do with the CI workflow having less CPU so it's rendering too slowly and storycap is being too eager to take the screenshot. I tried adding I'm using My workflow looks like this: - name: Build Storybook
run: yarn exec -- storybook build --output-dir ./storybook-static
- name: Capture screenshots
run: yarn exec -- storycap --serverCmd "npx http-server ./storybook-static --port 6008" http://127.0.0.1:6008/ --viewport 1024x768 --outDir ./screenshots |
passing http url to storycap, it is rendering screenshots of "No Preview" in my project.
In the doc page of storycap it doesnt say that its compatible with storybook 7, is it ?
The text was updated successfully, but these errors were encountered: