-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interactions: assertions fail on first load #16872
Comments
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Sorry I missed this the first time around. Is it still a problem? Story looks like it's loading fine to me now. |
Thanks, got it to repro in Firefox 🙏 |
I looked at it and observed that if the code is using some some observations
I feel like this issue can be revisited later after #16492 is fixed. I suspect the current behavior that WAI examples(passing the test) all |
Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.3 containing PR #18460 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Describe the bug
The
expect
assertion in a play function can fail, when it is run too early (I think).In particular, when the storybook is just loaded.
To Reproduce
Go to https://next--storybookjs.netlify.app/official-storybook/?path=/story/addons-interactions-accountform--find-by
You will find, that the story fails. Due to being
If you rerun the play function, or already had the storybook loaded and just navigate to this specific story, everything is green however.
The text was updated successfully, but these errors were encountered: