Replies: 1 comment
-
We had the same problem in our project and found a workaround:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
When trying to use Storybook for visual tests (e.g using Playwright), we want to start the storybook server and wait for it to be ready.
This can be done with something like this:
This works, however this will pass as soon as the server is up, but when trying to visit a story, it will start compiling modules and take a very long time (depending on the project size).
When visiting a story with Playwright this will result in a timeout.
Describe the solution you'd like
It would be great if Storybook exposed an endpoint that could be used as a signal that modules are compiled & everything is ready to be used.
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions