storybookjs / test-runner

🚕 Turn stories into executable tests
https://storybook.js.org/docs/writing-tests/interaction-testing
MIT License
220 stars 66 forks source link

[Feature request]: Test stoybook behind basic auth #471

Open sw-tracker opened 1 month ago

sw-tracker commented 1 month ago

Is your feature request related to a problem? Please describe.

Our storybook is behind basic auth and we would like to be able to test it.

Describe the solution you'd like

I would like to be able to provide username/password so that the test-runner logs in at the beginning of the tests.

Describe alternatives you've considered

I have tried providing a URL http://username:password@localhost:8080/storybook/index.html but I get this error:

image

Are you able to assist to bring the feature to reality?

no

Additional context

No response