Skip to content
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

[bug] Start storybook when using the test-runner #455

Open
alex-page opened this issue May 8, 2024 · 2 comments
Open

[bug] Start storybook when using the test-runner #455

alex-page opened this issue May 8, 2024 · 2 comments

Comments

@alex-page
Copy link

Describe the bug
It's annoying to have to configure scripts to run storybook, wait for storybook to be loaded, run the tests. Storybook has a server and all the infrastructure to put these pieces together for me. Please add an option to start storybook server with the test runner.

To Reproduce
Create a test-runner test and you will have to configure your scripts to run, wait and then test.

Expected behavior
I expect the test runner for storybook to start a storybook server or have a flag to be able to do this.

@loganvolkers
Copy link

loganvolkers commented May 31, 2024

Luckily Playwright provides the Web server option to provide exactly this functionality.

The storybook team wouldn't need to do much work to enable this capability in test runner.

@alex-page
Copy link
Author

Yep. I am all for using the playwright web server to solve this. I have set this up on other projects and it is shocking to me this is locked away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants