test-runner
test-runner copied to clipboard
🚕 Turn stories into executable tests
### Describe the request Storybook 7.0 has a new format for its sidebar entries, including docs entries. The test runner should have a command that goes through them to test...
### Describe the bug Hey guys, I'm attempting to setup code-coverage for storybook in my project, I'm able to get everything to run smoothy with `yarn test-storybook` but when I...
I noticed that `jest-playwright` package recommends using `@playwright/test` over `playwright`. Any plans to move this this in the future, since it has typescript support out of the box? - `jest-playwright`...
Getting this error when running `yarn test-storybook` just after install. To reproduce, you can simply apply the instructions at https://github.com/storybookjs/test-runner#getting-started onto the react native template at https://github.com/dannyhw/expo-template-storybook. Could somebody provide...
Do you have any ideas if it is possible to record videos of the test run? [Playwright supports this functionality](https://playwright.dev/docs/videos), I've tried to use it with the experimental test hooks...
Merging test coverage with other reports generated by coverageProvider v8 result in wrong coverage
### Describe the bug I setup coverage as described in the docs. https://storybook.js.org/addons/@storybook/test-runner#setting-up-code-coverage:~:text=published%20Storybook%20instead.-,Setting%20up%20code%20coverage,-The%20test%20runner I added the coverage addon, run `yarn test-storybook --coverage`. Now I want to merge it with my...
### Describe the bug I've just added @storybook/test-runner to the storybook-builder-vite, and found that tests are not running correctly on our svelte example project. I get the following message: ```...
### Describe the bug When I run all tests I almost always get a failure like this: ``` ● Modules / Components / AuthDetails › App Without Auth › test...
### Describe the bug `storyContext` is undefined ```js // test-runner.js const { getStoryContext } = require("@storybook/test-runner"); module.exports = { async postRender(page, context) { const storyContext = await getStoryContext(page, context); console.log(storyContext)...
Using @storybook/test-runner v0.3.0 and jest v27 In my main.js my stories are described as such and it runs fine with yarn storybook I have multiple story files and when I...