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

Add router testing to storybook #3896

Open
Tracked by #3705
asvae opened this issue Sep 23, 2023 · 0 comments
Open
Tracked by #3705

Add router testing to storybook #3896

asvae opened this issue Sep 23, 2023 · 0 comments
Labels
BUG Something isn't working d2: easy Recomended mode for new, but mature players v3: wish to have This is something user want, but can live without it

Comments

@asvae
Copy link
Member

asvae commented Sep 23, 2023

Vuestic-ui version: 1.8.0

We had it before (on vue-book), but with storybook we don't have router stories anymore.

Probably we need similar behaviour to form, So we need a sort of tester for generic component, that checks if router is properly connected. Component should also work fine if router is not present.

There is a couple of components, button, breadcrumb etc. Check useRouterLink usages for full list.

This might be a way to make it work - https://stackoverflow.com/questions/73739645/how-to-use-vuerouter-with-storybook.

That's pretty important as the feature is widely used.

@asvae asvae added BUG Something isn't working d2: easy Recomended mode for new, but mature players v3: wish to have This is something user want, but can live without it labels Sep 23, 2023
@asvae asvae mentioned this issue Sep 20, 2023
77 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working d2: easy Recomended mode for new, but mature players v3: wish to have This is something user want, but can live without it
Projects
Status: Backlog
Development

No branches or pull requests

1 participant