test-runner
test-runner copied to clipboard
🚕 Turn stories into executable tests
**Describe the bug** We're using test-runner to take Visual Regression snapshots of our components. Sometimes the test runner compares an the incorrect story to the snapshot. So our "default story"...
When can we expect a v8.0.0 compatible version? Thanks for the awesome work!!!!
**Describe the bug** On windows, no tests will be found even when using the right testMatch patterns and having the right stories in place. Same repo with same config &...
### Describe the bug ```ts import { getStoryContext } from "@storybook/test-runner" // in postVisit const storyContext = await getStoryContext(page, context) storyContext.canvasElement // type unknown should be HTMLElement ``` This is...
It seems that when running tests for a Storybook managed in a separate package, with a package.json that only includes `@storybook/test-runner`, `concurrently`, and `wait-on` as dependencies, an error occurs stating...
Thanks for the work on this great library! We are using it and are experiencing errors like: ``` thrown: "Exceeded timeout of 15000 ms for a test. Add a timeout...
**Describe the bug** I'm experiencing something similar to what https://github.com/storybookjs/test-runner/issues/415 showed: whenever I run the test runner, the console starts spitting errors about `jest-haste-map` with references to folders that are...
**Describe the bug** A clear and concise description of what the bug is. If I import storybook/jest's `jest` and call `jest.retryTimes(n)` in an interaction test, the interaction test will fail...
`test-runner` is currently running using `jest`, and the rest or the ecosystem of storybook is already running on `vitest` See for example the [`@storybook/test` package](https://storybook.js.org/blog/storybook-test/?ref=storybookblog.ghost.io). I believe that `vitest` would...
**Describe the bug** First reported here: https://github.com/storybookjs/storybook/discussions/25003 I am unable to run storybook tests with a custom test runner. **Note:** We use this reporter in our normal jest tests within...