You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching from a story that includes a component test to another story without one, the test results are incorrectly carried over and displayed in the wrong story.
Then click the Default story (don’t wait for Case 1 to finish the component test).
It will always show failures, even when Case 1 normally succeeds.
Side note: Adding sleep in the test didn’t trigger this bug. I suspect that the waitFor function (const text = await waitFor(() => canvas.getByText(/slurp/i), { timeout: 10000 })) is suspicious and causing issues.
System
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Report from Storybook test EAP:
When switching from a story that includes a component test to another story without one, the test results are incorrectly carried over and displayed in the wrong story.
Reproduction link
https://github.com/AlmarAubel/sb-playground
Reproduction steps
It will always show failures, even when Case 1 normally succeeds.
Side note: Adding sleep in the test didn’t trigger this bug. I suspect that the
waitFor function (const text = await waitFor(() => canvas.getByText(/slurp/i), { timeout: 10000 }))
is suspicious and causing issues.System
Additional context
No response
The text was updated successfully, but these errors were encountered: