test-runner icon indicating copy to clipboard operation
test-runner copied to clipboard

🚕 Turn stories into executable tests

Results 136 test-runner issues
Sort by recently updated
recently updated
newest added

### Describe the bug Let's say in the same file I have `StoryA` and `StoryB` both using `msw` to mock API calls. They use the same underlying component that fetches...

bug

### Describe the bug `test-storybook` supports most of the Jest CLI options, but `--findRelatedTests` is not one of them. ### Steps to reproduce the behavior ```sh yarn test-storybook --findRelatedTests src/my-changed-file.js...

bug

### Describe the bug When trying to run using index/stories.json mode, every story complains with the following error: ![image](https://user-images.githubusercontent.com/7784127/203531106-490b18c3-6504-4d16-881e-eb14f6eb50ca.png) If I run the same tests without using index.json, the error...

bug

### Describe the bug If running test-runner with `postRender` and `toMatchSnapshot()` they're always failing for Angular, because _ng* attributes are partly dynamic. ### Steps to reproduce the behavior 1. Setup...

bug

### Describe the bug When running test runner with flag -c and a custom configuration the path aliases are not resolved even tho webPack aliases are set in said configuration....

question

### Describe the bug I got this error while trying to run `yarn test-storybook` ```text Test suite failed to run TypeError: Function.prototype.apply was called on undefined, which is a undefined...

bug
needs triage

This should ensure that the `combineTags` helper is available as older versions of the package did not have it. Closes https://github.com/storybookjs/test-runner/issues/487 ## What I did ## Checklist for Contributors ####...

### Describe the bug Hello, I'm using the `postVisit` hook of `test-runner` to generate a JSON file containing the source code (in TSX) of each story available in my codebase....

bug
needs triage

My sub test only needs one story to test but the current tag filtering implementation creates redundant `describe.skip(`${title}`, () => { it('no-op', () => {}) });` as per [makeDescribe](https://github.com/storybookjs/test-runner/blob/2b60fe681ca44bdc9b81a4f0dc81163209c66484/src/playwright/transformPlaywrightJson.ts#L33) It...

### Is your feature request related to a problem? Please describe. If I want to run some `page` setup with Playwright before `page.goto`, there's no good way to do so...

feature request
needs triage