Storybook CT Tests / Portable Stories don't work with render function #27407
-
SummaryWhen I'm using the new Storybook Component Tests using Portable Stories and Playwright CT my tests seem to not render as soon as I add a render function. This can be in the story or as a decorator. To set it up I followed: When I run using the default Button story example that storybook scaffolds it works As soon as I add a render function I've added a reproducer, but I can't get it to run on stackblitz. It just fails to import the config file Additional informationNo response Create a reproductionhttps://stackblitz.com/edit/github-darlva?file=src%2Fstories%2FButton.playwright.test.tsx |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Vue 3 |
Beta Was this translation helpful? Give feedback.
-
I missed a warning on the docs about aliasing Vue. I made the change and it now works |
Beta Was this translation helpful? Give feedback.
I missed a warning on the docs about aliasing Vue. I made the change and it now works