test-runner
test-runner copied to clipboard
🚕 Turn stories into executable tests
Styling libraries like Emotion use hashes in their generated classnames. These change even if the change is just whitespace, and will also depend on whether you run `start-storybook` or `build-storybook`....
### Describe the bug I'd like to be able to modify the Jest timeout per test. ### Steps to reproduce the behavior Use `await new Promise(resolve => { setTimeout(resolve, 20000);...
This feature will enable me report test results in a junit file format using the flags: `--reporters=default --reporters=jest-junit` This will add the possibility to integrate the test runner more tightly...
### Describe the Feature I have a `Themed` story in many of my stories files which simply renders other stories together in a "light mode" and "dark mode". If I'm...
### Describe the bug When I go to the official storybook page, it says here that title is optional https://storybook.js.org/docs/react/writing-stories/introduction#default-export However, if I don't put in the title, the test-runner...
It would be very useful to have `teardown()` hook similar to `setup()` so we can run code after all stories are tested. One use-case is to write [github test summary](https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/)...
## What I did - Adds an option `--only-type ` that takes either `play` or `smoke` - If the option is set, only Play or only Smoke tests will run....
### Describe the bug When using SSL with a self-signed certificate to run the development server, the test runner (with at least the Chromium browser) will reject the SSL connection,...
### Describe the bug If I eject the config in an esm-project, the filename `test-runner-jest.config.js` is interpreted as esm-module and jest will fail to run. As the filename is hardcoded,...
Would be great to be able to filter tests for stories that have the play function, or the ones without play function