Open
Description
Describe the bug
I'm not sure what can be done to fix this, but I've gotten an error in a single test, which was resolved upon a re-run of the job:
Message:
The test runner could not access the Storybook channel. Are you sure the Storybook is running correctly in that URL?
at __test (<anonymous>:230:17)
at async <anonymous>:228:30
at src/screens/loading/LoadingAuthPage.stories.tsx:1[68](https://github.com/xyz/abc/actions/runs/6732566520/job/18299559702?pr=2057#step:9:69):58
at step (src/screens/loading/LoadingAuthPage.stories.tsx:109:23)
at Object.next (src/screens/loading/LoadingAuthPage.stories.tsx:50:20)
at asyncGeneratorStep (src/screens/loading/LoadingAuthPage.stories.tsx:4:28)
at _next (src/screens/loading/LoadingAuthPage.stories.tsx:22:17)
at src/screens/loading/LoadingAuthPage.stories.tsx:27:13
at src/screens/loading/LoadingAuthPage.stories.tsx:19:16
at testFn (src/screens/loading/LoadingAuthPage.stories.tsx:220:49)
at Object.<anonymous> (src/screens/loading/LoadingAuthPage.stories.tsx:233:33)
at step (src/screens/loading/LoadingAuthPage.stories.tsx:109:23)
at Object.next (src/screens/loading/LoadingAuthPage.stories.tsx:50:20)
at asyncGeneratorStep (src/screens/loading/LoadingAuthPage.stories.tsx:4:28)
at _next (src/screens/loading/LoadingAuthPage.stories.tsx:22:17)
at src/screens/loading/LoadingAuthPage.stories.tsx:27:13
at Object.<anonymous> (src/screens/loading/LoadingAuthPage.stories.tsx:19:16)
To Reproduce
No idea, it's not something I've seen often, and appears to be intermittent. The story is nothing special: no args, no play function, just static content.
Expected behavior
I wouldn't expect flakey behavior from the test runner.
Screenshots
If applicable, add screenshots to help explain your problem.
System
System:
OS: macOS 14.0
CPU: (12) arm64 Apple M2 Max
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/Library/Caches/fnm_multishells/73160_1698691812056/bin/node
npm: 9.5.1 - ~/Library/Caches/fnm_multishells/73160_1698691812056/bin/npm
pnpm: 8.8.0 - ~/Library/Caches/fnm_multishells/73160_1698691812056/bin/pnpm <----- active
Browsers:
Safari: 17.0
npmPackages:
@storybook/addon-a11y: 7.5.0 => 7.5.0
@storybook/addon-essentials: 7.5.0 => 7.5.0
@storybook/addon-interactions: 7.5.0 => 7.5.0
@storybook/jest: ^0.2.3 => 0.2.3
@storybook/react: 7.5.0 => 7.5.0
@storybook/react-vite: 7.5.0 => 7.5.0
@storybook/test-runner: ^0.13.0 => 0.13.0
@storybook/testing-library: ^0.2.2 => 0.2.2
@storybook/types: 7.5.0 => 7.5.0
chromatic: ^6.17.3 => 6.24.1
eslint-plugin-storybook: ^0.6.15 => 0.6.15
storybook: 7.5.0 => 7.5.0
Additional context
This isn't probably immediately actionable, but I wanted to open an issue to see if others are hitting this as well, in which case we might want to look into why it could happen.